forked from coenjacobs/mozart
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c96a2f
commit 34cc59f
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# chmod +x scripts/createphar.sh | ||
# ./scripts/createphar.sh | ||
|
||
rm -rf build | ||
composer install --no-dev | ||
wget -O phar-composer.phar https://github.com/clue/phar-composer/releases/download/v1.4.0/phar-composer-1.4.0.phar | ||
mkdir build | ||
cp -R vendor build/vendor | ||
cp -R src build/src | ||
cp -R bin build/bin | ||
cp -R composer.json build | ||
php -d phar.readonly=off phar-composer.phar build ./build/ | ||
|
||
rm phar-composer.phar | ||
rm -rf build | ||
composer install | ||
|
||
php strauss.phar --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters