forked from nodosjs/nodos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (35 loc) · 854 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
test:
NODE_ENV=development NODOS_ENV=test DEBUG=nodos npx jest
setup: install bootstrap build
install:
yarn
bootstrap:
npx lerna bootstrap
publish:
npx lerna publish
build:
NODE_ENV=production npx lerna exec --parallel -- babel lib -d dist
lint:
npx eslint .
lint-fix:
npx eslint . --fix
lint-ci:
npx eslint --ignore-pattern app --ignore-pattern example .
what-to-do:
git grep FIXME
compose-update:
docker-compose run app yarn update
compose-setup:
docker-compose run app make setup
compose-example-setup: compose-setup
docker-compose run app bash -c 'cd example && make setup'
compose-example-bash:
docker-compose run -w /code/example app bash
compose-example:
docker-compose up
compose-test:
docker-compose run app make test
compose-server:
docker-compose run app make server
compose-bash:
docker-compose run app bash