This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
include Makefile.include.mk
2
2
3
- json_cli :
4
- chmod 755 $(JSON_CLI )
3
+ before_action :
4
+ @ chmod 755 $(JSON_CLI )
5
5
6
6
help :
7
7
$(call serve.help)
22
22
npm install # for commitizen
23
23
24
24
# shortcut for serve.local
25
- dev : json_cli
26
- $(JSON_CLI ) -s ' .[0] * .[1]' config/config.json config/config.local.json > /tmp/config.json
27
- cp /tmp/config.json ./config/config.json
25
+ dev : before_action
26
+ @ $(JSON_CLI ) -s ' .[0] * .[1]' config/config.json config/config.local.json > /tmp/config.json
27
+ @ cp /tmp/config.json ./config/config.json
28
28
npm run local
29
29
30
30
build :
31
31
npm build
32
32
33
- build.dev :
34
- $(JSON_CLI ) -s ' .[0] * .[1]' config/config.json config/config.dev.json > /config.json
33
+ build.dev : before_action
34
+ @$(JSON_CLI ) -s ' .[0] * .[1]' config/config.json config/config.dev.json > /tmp/config.json
35
+ @cp /tmp/config.json ./config/config.json
35
36
npm run build.dev
36
37
37
- build.prod :
38
- $(JSON_CLI ) -s ' .[0] * .[1]' config/config.json config/config.prod.json > /config.json
38
+ build.prod : before_action
39
+ @$(JSON_CLI ) -s ' .[0] * .[1]' config/config.json config/config.prod.json > /tmp/config.json
40
+ @cp /tmp/config.json ./config/config.json
39
41
npm run build.prod
40
42
41
43
serve.help :
You can’t perform that action at this time.
0 commit comments