-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (21 loc) · 673 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
APP=eureka
JS_FILES=media/src/js
all: jenkins cypress-test
include *.mk
integrationserver: check
$(MANAGE) integrationserver --addrport $(INTERFACE):$(RUNSERVER_PORT) --noinput
webpack: $(JS_SENTINAL)
npm run dev
cypress-run: $(JS_SENTINAL)
npm run cypress:run
cypress-open: $(JS_SENTINAL)
npm run cypress:open
cypress-test: $(JS_SENTINAL)
npm run cypress:test
cypress-watch: $(JS_SENTINAL)
npm run cypress:watch
dev:
trap 'kill 0' EXIT; make runserver & make webpack
cypress:
trap 'kill 0' EXIT; make integrationserver & make webpack & make cypress-open
.PHONY: integrationserver webpack cypress-run cypress-open cypress-test cypress-watch dev cypress