mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 09:32:24 -04:00
Add Composer autoloading functions and PHPStan for testing
This commit is contained in:
parent
e198c4db65
commit
f5d7d4e02a
1518 changed files with 169063 additions and 30 deletions
25
vendor/phpstan/phpdoc-parser/build-abnfgen.sh
vendored
Executable file
25
vendor/phpstan/phpdoc-parser/build-abnfgen.sh
vendored
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
ROOT_DIR="$DIR"
|
||||
|
||||
if [[ ! -d "$ROOT_DIR/tools/abnfgen" ]]; then
|
||||
rm -rf "$ROOT_DIR/temp/abnfgen"
|
||||
mkdir -p "$ROOT_DIR/temp/abnfgen"
|
||||
|
||||
wget http://www.quut.com/abnfgen/abnfgen-0.20.tar.gz \
|
||||
--output-document "$ROOT_DIR/temp/abnfgen.tar.gz"
|
||||
|
||||
tar xf "$ROOT_DIR/temp/abnfgen.tar.gz" \
|
||||
--directory "$ROOT_DIR/temp/abnfgen" \
|
||||
--strip-components 1
|
||||
|
||||
cd "$ROOT_DIR/temp/abnfgen"
|
||||
./configure
|
||||
make
|
||||
|
||||
mkdir -p "$ROOT_DIR/tools/abnfgen"
|
||||
mv abnfgen "$ROOT_DIR/tools/abnfgen"
|
||||
rm -rf "$ROOT_DIR/temp/abnfgen" "$ROOT_DIR/temp/abnfgen.tar.gz"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue