-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
58 lines (39 loc) · 960 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
49
50
51
52
53
54
55
56
57
58
all: compose-setup
prepare:
touch .bash_history
touch .env
test:
npm run test
lint:
npm run lint
check: test lint
compose:
docker-compose up
compose-install:
docker-compose run web npm install
compose-setup: prepare compose-build compose-install compose-db-setup
npm run flow-typed install
compose-db-setup:
docker-compose run web npm run sequelize db:migrate
compose-kill:
docker-compose kill
compose-build:
docker-compose build
compose-test:
docker-compose run web make test
compose-bash:
docker-compose run web bash
compose-console:
npm run gulp console
compose-lint:
docker-compose run web npm run eslint .
start:
DEBUG="application:*" npm run nodemon -- --watch . --ext '.js' --exec npm run gulp -- server
compose-check-types:
docker-compose run web npm run flow
compose-dist-build:
rm -rf dist
docker-compose run web npm run build
compose-publish: compose-dist-build
docker-compose run web npm publish
.PHONY: test