Makefile to root folder
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
bc120bc5d7
commit
be542d3f53
2 changed files with 2 additions and 9 deletions
|
@ -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
|
||||
|
|
@ -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!**
|
||||
|
|
Loading…
Reference in a new issue