-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
83 lines (56 loc) · 1.58 KB
/
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
sdocker:
@bash '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'
setup:
@npm install -g commitizen && npm i ghooks cz-conventional-changelog validate-commit-message && docker build -t huge/lunar .
up:
@docker run --name="lunar" -d -p 4000:4000 -v $(PWD):/app huge/lunar
remake:
@docker rm -f lunar && docker rmi huge/lunar && make setup && make up
bundle:
@docker exec lunar npm run bundle
ssh:
@docker exec -i -t lunar bash
jshint:
@docker exec lunar npm run jshint
jscs:
@docker exec lunar npm run jscs
jscs-fix:
@docker exec lunar npm run jscsfix
unit:
@docker exec lunar npm run unit
integration:
@docker exec lunar npm run integration
stress:
@docker exec lunar npm run stress
concurrency:
@docker exec lunar npm run concurrency
unit-pretty:
@docker exec lunar npm run unit-pretty
integration-pretty:
@docker exec lunar npm run integration-pretty
stress-pretty:
@docker exec lunar npm run stress-pretty
concurrency-pretty:
@docker exec lunar npm run concurrency-pretty
unit-nyan:
@docker exec lunar npm run unit-nyan
integration-nyan:
@docker exec lunar npm run integration-nyan
stress-nyan:
@docker exec lunar npm run stress-nyan
concurrency-nyan:
@docker exec lunar npm run concurrency-nyan
unit-coverage:
@docker exec lunar npm run unit-coverage
integration-coverage:
@docker exec lunar npm run integration-coverage
cover:
@docker exec lunar npm run coverage
test:
@docker exec lunar npm run test
ci-test:
@docker exec lunar npm run ci-test
watch:
@docker exec lunar npm run watch
dev:
@docker exec lunar npm run dev