Browse Source

Makefile to root folder

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v16.0.0alpha1
Roeland Jago Douma 5 years ago
parent
commit
be542d3f53
No account linked to committer's email address
2 changed files with 2 additions and 9 deletions
  1. 1
    5
      Makefile
  2. 1
    4
      README.md

settings/Makefile → Makefile 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


+ 1
- 4
README.md 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!**

Loading…
Cancel
Save