-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (26 loc) 路 783 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
t: # just run tests once
@/bin/bash test.sh
tw: # run tests in watch mode
@/bin/bash test.sh --watch
twa: # run tests in watchAll mode
@/bin/bash test.sh --watchAll
c: # run local server to browse coverage
@node server.js --log 15 --port 8081 --dir coverage
cc: # run local server to general testing
@nodemon -e js,html server.js --log 15
nt: # test .npmignore
@npm pack
up: down
/bin/bash docker/docker-compose.sh up
down:
/bin/bash docker/docker-compose.sh down
link:
npm link
npm link knex-abstract
@cd migrations && make -s link
manual:
nodemon -e js,html manual.js
yarn:
/bin/bash bash/swap-files-v2.sh package.json package.dev.json -- yarn --production=false
style_fix:
/bin/bash bash/swap-files-v2.sh package.json package.dev.json -- yarn style:fix