forked from HFScode/zspin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (31 loc) · 693 Bytes
/
Copy pathMakefile
File metadata and controls
41 lines (31 loc) · 693 Bytes
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
39
40
41
NPM = npm
BUILD = ./build/
RELEASE = ./releases/
GULP = ./node_modules/.bin/gulp
BOWER = ./node_modules/.bin/bower
PLATFORM ?= win64
all: install build
install:
$(NPM) install
$(BOWER) install
$(GULP)
$(NPM) --prefix $(BUILD) install $(BUILD)
# $(NPM) --prefix $(BUILD) install ./app_statics/package.json
build:
$(GULP)
run:
$(GULP) run
watch:
$(GULP) watch -d
release:
$(GULP) release -p $(PLATFORM)
release-all:
$(GULP) release -p win64
$(GULP) release -p osx64
$(GULP) release -p linux64
$(GULP) release -p linuxarm
clean:
$(GULP) clean
fclean: clean
$(GULP) fclean
.PHONY: all install build run watch release clean fclean