-
Notifications
You must be signed in to change notification settings - Fork 26
/
Makefile
32 lines (22 loc) · 986 Bytes
/
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
MUSES_SYSTEM:=github.com/i2eco/muses/pkg/system
APPNAME:=egoshop
APPPATH:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
APPOUT:=$(APPPATH)/appgo/$(APPNAME)
# 执行wechat
wechat:
@cd $(APPPATH)/appuni && npm run dev:mp-weixin
ant:
@cd $(APPPATH)/adminant && npm start
# 执行go指令
go:
@cd $(APPPATH)/appgo && $(APPPATH)/tool/build.sh $(APPNAME) $(APPOUT) $(MUSES_SYSTEM)
@cd $(APPPATH)/appgo && $(APPOUT) start --conf=conf/conf.toml
install:
@cd $(APPPATH)/appgo && $(APPPATH)/tool/build.sh $(APPNAME) $(APPOUT) $(MUSES_SYSTEM)
@cd $(APPPATH)/appgo && $(APPOUT) install --conf=conf/conf.toml
install.create:
@cd $(APPPATH)/appgo && $(APPPATH)/tool/build.sh $(APPNAME) $(APPOUT) $(MUSES_SYSTEM)
@cd $(APPPATH)/appgo && $(APPOUT) install --conf=conf/conf.toml --mode=create
install.clear:
@cd $(APPPATH)/appgo && $(APPPATH)/tool/build.sh $(APPNAME) $(APPOUT) $(MUSES_SYSTEM)
@cd $(APPPATH)/appgo && $(APPOUT) install --conf=conf/conf.toml --clear=true