-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
48 lines (35 loc) · 871 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
APP=logiclearner
all: jenkins js-typecheck cypress-test jstest
.PHONY: all
include *.mk
integrationserver: $(PY_SENTINAL)
$(MANAGE) integrationserver --noinput
.PHONY: integrationserver
webpack: $(JS_SENTINAL)
npm run dev
.PHONY: webpack
js-typecheck: $(JS_SENTINAL)
npm run typecheck
.PHONY: js-typecheck
js-build: $(JS_SENTINAL)
rm -rf media/build/*
npm run build:prod
.PHONY: js-build
cypress-run: $(JS_SENTINAL)
npm run cypress:run
.PHONY: cypress-run
cypress-open: $(JS_SENTINAL)
npm run cypress:open
.PHONY: cypress-open
cypress-test-travis: js-build
npm run cypress:test-travis
.PHONY: cypress-test-travis
cypress-test: js-build
npm run cypress:test
.PHONY: cypress-test
cypress:
trap 'kill 0' EXIT; make integrationserver & make webpack & make cypress-open
.PHONY: cypress
dev:
trap 'kill 0' EXIT; make runserver & make webpack
.PHONY: dev