Split build into smaller targets

This commit is contained in:
Thibaud Fabre
2016-09-27 06:29:16 +02:00
parent 1fcaa10f7a
commit 86d4dfc8fc
2 changed files with 20 additions and 5 deletions

View File

@@ -1,16 +1,23 @@
install:
make install_composer
make clean_assets
make install_asset_dependencies
make install_assets
install_composer:
composer install
install_asset_dependencies:
npm install
./node_modules/.bin/gulp build
install_assets:
./node_modules/.bin/gulp install-assets
clean_assets:
rm -rf ./node_modules
rm -rf ./www/assets
rm -rf ./www/bower_components
npm install
./node_modules/.bin/gulp build
config:
@php bin/console compile:configuration