-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (27 loc) · 1.15 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
all: build
@echo -e "\x1b[1;32m=== Build succeeded! ===\x1b[m"
@echo -e "\x1b[32mYou may now continue with one of the following commands:\x1b[m"
@echo -e "\x1b[90m - \x1b[96mmake build\x1b[0;90m\x1b[32m - (re)build the dist (client-side) files\x1b[m"
@echo -e "\x1b[90m - \x1b[96mmake start\x1b[0;90m (or \x1b[36mmake run\x1b[0;90m)\x1b[32m - build the dist files, and start a server\x1b[m"
@echo -e "\x1b[90m - \x1b[96mmake watch\x1b[0;90m\x1b[32m - build, and watch source files (rebuilding when they change)\x1b[m"
@echo -e "\x1b[90m - \x1b[96mmake devel\x1b[0;90m\x1b[32m - build, start a server, and watch source files (rebuilding when they change)\x1b[m"
node_modules: package.json
npm install
npm install bower grunt-cli
touch node_modules
client/vendor: bower.json
./node_modules/.bin/bower install
touch client/vendor
deps: node_modules client/vendor
build: deps
./node_modules/.bin/grunt build
run: build
./node_modules/.bin/grunt connect:server:keepalive
start: run
devel: deps
./node_modules/.bin/grunt devel
watch: deps
./node_modules/.bin/grunt watch
test: deps
./node_modules/.bin/grunt test
.PHONY: all deps build run start devel watch