mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-19 15:45:43 +01:00
22 lines
564 B
Bash
22 lines
564 B
Bash
|
#!/bin/sh -l
|
||
|
|
||
|
# see https://stackoverflow.com/questions/66644233/how-to-propagate-colors-from-bash-script-to-github-action?noredirect=1#comment117811853_66644233
|
||
|
export TERM=xterm-color
|
||
|
|
||
|
# show errors
|
||
|
set -e
|
||
|
|
||
|
# script fails if trying to access to an undefined variable
|
||
|
set -u
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
composer install --no-dev --ansi
|
||
|
|
||
|
rsync --exclude rector-build -av * rector-build --quiet
|
||
|
rm -rf rector-build/packages-tests rector-build/rules-tests rector-build/tests
|
||
|
|
||
|
sh build/downgrade-rector.sh rector-build
|
||
|
sh build/build-rector-scoped.sh rector-build rector-prefixed-downgraded
|