Am-I-late/makefile

23 lines
399 B
Makefile
Raw Normal View History

2018-05-07 09:13:18 +00:00
.PHONY: install api-start api-stop front-watch front-build front-build-prod
install:
composer install;
npm install;
api-start:
2018-06-04 08:11:01 +00:00
bin/console server:start *:8000;
2018-05-07 09:13:18 +00:00
api-stop:
bin/console server:stop;
front-watch:
2018-05-18 09:16:36 +00:00
./node_modules/.bin/encore dev --watch;
2018-05-07 09:13:18 +00:00
front-build:
2018-05-18 09:16:36 +00:00
./node_modules/.bin/encore dev;
2018-05-07 09:13:18 +00:00
front-build-prod:
2018-05-18 09:16:36 +00:00
./node_modules/.bin/encore production;
2018-05-18 09:16:36 +00:00
front-run:
cd client && npm start;