{
"name": "adawolfa/libgit2-ffi",
"license": ["MIT"],
"authors": [
{
"name": "Adam Klvač",
"homepage": "https://klva.cz"
}
],
"require": {
"php": ">=8.1",
"ext-ffi": "*",
"adawolfa/ffi-memory-stream": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
"git2\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\git2\\": "tests/"
}
},
"scripts": {
"preprocess-win32": "docker run --rm -v %CD%:/mnt/_ -w /mnt/_ silkeh/clang:13 bash bin/preprocess.sh",
"preprocess-linux": "docker run --rm -v $PWD:/mnt/_ -w /mnt/_ silkeh/clang:13 bash bin/preprocess.sh",
"build": "docker build -t libgit2_ffi .",
"test": "phpunit tests/",
"test-win32": "docker run --rm -v %CD%:/mnt/_ -w /mnt/_ libgit2_ffi vendor/bin/phpunit tests/",
"test-linux": "docker run --rm -v $PWD:/mnt/_ -w /mnt/_ libgit2_ffi vendor/bin/phpunit tests/"
}
}