mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-18 20:11:33 +03:00
php: composer-json ignore platform reqs & scripts
This commit is contained in:
parent
f49af63180
commit
685efe73de
@ -58,9 +58,9 @@
|
||||
echo "excluding dev dependencies"
|
||||
jq '.require-dev = {}' ./composer.json > composer.json.mod
|
||||
mv composer.json.mod composer.json
|
||||
composer update --no-install --no-dev
|
||||
composer update --ignore-platform-reqs --no-scripts --no-plugins --no-install --no-dev
|
||||
else
|
||||
composer update --no-install
|
||||
composer update --ignore-platform-reqs --no-scripts --no-plugins --no-install
|
||||
fi
|
||||
|
||||
jq ".source = \"$newSource\"" -c -r $jsonInput > $TMPDIR/newJsonInput
|
||||
|
Loading…
Reference in New Issue
Block a user