-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
59 lines (40 loc) · 1.56 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
API_CONTAINER_NAME=api
up:
@docker-compose up -d
down: up
@docker-compose down
install: up
@docker-compose exec $(API_CONTAINER_NAME) npm install $(ARGS)
.PHONY: build
build: up
@docker-compose exec $(API_CONTAINER_NAME) npm run build
migrate-backoffice-create: up
@docker-compose exec $(API_CONTAINER_NAME) npm run migrate:backoffice:create $(ARGS)
migrate-backoffice-run: up
@docker-compose exec $(API_CONTAINER_NAME) npm run migrate:backoffice:run
migrate-backoffice-revert: up
@docker-compose exec $(API_CONTAINER_NAME) npm run migrate:backoffice:revert
seed-backoffice-create: up
@docker-compose exec $(API_CONTAINER_NAME) npm run seed:backoffice:create $(ARGS)
seed-backoffice-run: up
@docker-compose exec $(API_CONTAINER_NAME) npm run seed:backoffice:run
seed-backoffice-revert: up
@docker-compose exec $(API_CONTAINER_NAME) npm run seed:backoffice:revert
run-dev: up
@docker-compose exec $(API_CONTAINER_NAME) npm run dev
run-start: up
@docker-compose exec $(API_CONTAINER_NAME) npm run start
run-build: up
@docker-compose exec $(API_CONTAINER_NAME) npm run build
run-test-all: up
@docker-compose exec $(API_CONTAINER_NAME) npm run test:all
run-test-unit: up
@docker-compose exec $(API_CONTAINER_NAME) npm run test:unit
run-test-unit-coverage: up
@docker-compose exec $(API_CONTAINER_NAME) npm run test:unit:coverage
run-test-e2e: up
@docker-compose exec $(API_CONTAINER_NAME) npm run test:e2e
eslint-check: up
@docker-compose exec $(API_CONTAINER_NAME) npm run eslint:check
eslint-fix: up
@docker-compose exec $(API_CONTAINER_NAME) npm run eslint:fix