Skip to content

Instantly share code, notes, and snippets.

@remyzv
Created July 17, 2015 11:58
Show Gist options
  • Save remyzv/4fc48e1e1a3ee82d6488 to your computer and use it in GitHub Desktop.
Save remyzv/4fc48e1e1a3ee82d6488 to your computer and use it in GitHub Desktop.
Make file for project with composer/bower/node
CONSOLE=app/console
install:
@ echo "Install composer"
@ curl -sS https://getcomposer.org/installer | php -- --install-dir=bin
@ echo "\nInstall composer dependencies"
@ php bin/composer.phar install
@ echo "\nInstall bower dependencies"
@ bower install
@ echo "\nInstall node dependencies"
@ npm install
@ echo "\nBuild assets"
@ gulp front.build
@ echo "\nInstall Symfony assets"
@ php $(CONSOLE) assets:install --symlink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment