File tree Expand file tree Collapse file tree 5 files changed +761
-487
lines changed
Expand file tree Collapse file tree 5 files changed +761
-487
lines changed Original file line number Diff line number Diff line change 77
88before_script :
99 - nvm install "$(jq -r '.engines.node' package.json)"
10- - make install-bin install-composer install-npm db-build clean
10+ - make install-bin-dev install-bin-prod install-composer install-npm db-build clean
1111
1212script :
1313 - npm run lint
Original file line number Diff line number Diff line change @@ -37,9 +37,12 @@ clean:
3737 php bin/console cache:warmup
3838
3939# Installation
40- install-bin :
40+ install-bin-prod :
4141 mkdir -p bin
4242 test -f bin/composer || curl -sS https://getcomposer.org/installer | php -- --install-dir=bin --filename=composer
43+
44+ install-bin-dev :
45+ mkdir -p bin
4346 test -f bin/php-cs-fixer || wget http://get.sensiolabs.org/php-cs-fixer.phar -O bin/php-cs-fixer
4447
4548install-composer :
@@ -53,7 +56,7 @@ install-jwt:
5356 test -f var/jwt/private.pem || openssl genrsa -out var/jwt/private.pem -passout pass:Appbuild -aes256 4096
5457 test -f var/jwt/public.pem || openssl rsa -in var/jwt/private.pem -passin pass:Appbuild -pubout -out var/jwt/public.pem
5558
56- install : install-bin install-composer install-jwt install-npm db-build assets-build clean
59+ install : install-bin-dev install-bin-prod install-composer install-jwt install-npm db-build assets-build clean
5760
5861# Update
5962update : update-composer clean
@@ -88,7 +91,7 @@ assets-watch:
8891 npm start
8992
9093# Production
91- prod-install : install-bin
94+ prod-install : install-bin-prod
9295 SYMFONY_ENV=prod php bin/composer install --no-dev --optimize-autoloader --no-interaction
9396 npm install
9497
You can’t perform that action at this time.
0 commit comments