Makefile to root folder

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-02-24 20:20:12 +01:00
parent bc120bc5d7
commit be542d3f53
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 2 additions and 9 deletions

View File

@ -1,6 +1,6 @@
all: dev-setup build-js-production
dev-setup: clean clean-dev npm-init
dev-setup: clean-dev npm-init
npm-init:
npm install
@ -17,10 +17,6 @@ build-js-production:
watch-js:
npm run watch
clean:
rm -f js/vue-*.js
rm -f js/vue-*.js.map
clean-dev:
rm -rf node_modules

View File

@ -61,7 +61,7 @@ Otherwise, git checkouts can be handled the same as release archives, by using t
### Building front-end code 🏗
We move more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the `settings` subfolder:
We move more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
``` bash
# install dependencies
@ -75,9 +75,6 @@ make watch-js
# build for production with minification
make build-js-production
# clean output files
make clean
```
**When making changes, also commit the compiled files!**