123456789101112131415161718192021222324 |
- # Usage:
- # make install: to download all dependencies
- # make: to recompile ES6 code to ES5
- # make clean: to clean up before leaving
- # make serve: to start web server on port 8888
- build: web/client/node_modules
- cd web/client; \
- yarn run build
- install:
- composer install
- cd web/client; \
- yarn
- serve:
- COMPOSER_PROCESS_TIMEOUT=0 composer run
- clean:
- # PHP side.
- rm -fr var/cache/* var/logs/* vendor
- touch var/cache/.gitkeep var/logs/.gitkeep
- # JS side.
- rm -fr web/client/node_modules web/client/lib/*
- touch web/client/lib/.gitkeep
|