Skip to content

Commit

Permalink
Remove "pushd" and "popd" from build-lib.sh
Browse files Browse the repository at this point in the history
These are bash specific commands and will fail since the script is
actually run as a sh script. Instead, the "-d" option of composer
is now used.
  • Loading branch information
Konamiman committed Nov 19, 2020
1 parent 591491d commit 16bd676
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 128 deletions.
4 changes: 1 addition & 3 deletions bin/build-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ rm -rf lib/packages lib/classes
mkdir lib/packages lib/classes

# Running update on the lib package will automatically run Mozart
pushd ./lib
composer update
popd
composer update -d ./lib

output 6 "Updating autoload files"

Expand Down
3 changes: 1 addition & 2 deletions bin/composer/mozart/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 1 addition & 31 deletions bin/composer/phpcs/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 1 addition & 49 deletions bin/composer/phpunit/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 1 addition & 33 deletions bin/composer/wp/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions lib/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 16bd676

Please sign in to comment.