-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
65 lines (49 loc) · 1.47 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
push:
# @make test
@make lint
@make format
@git add -A
@curl -s http://commit.jaw.dev/ | sh -s -- --no-verify
@git push --no-verify
fix-git:
@git rm -r --cached . -f
@git add .
@git commit -m "Untrack files in .gitignore"
test-unit:
@docker compose -f docker-compose.dev.yml exec notify npm run test
test-browser:
@docker compose -f docker-compose.dev.yml exec notify npm run test:browser:headless
format:
@docker compose -f docker-compose.dev.yml exec notify npm run format
lint:
@docker compose -f docker-compose.dev.yml exec notify npm run lint
deploy:
@./deploy.sh
shell:
@docker compose -f docker-compose.dev.yml exec notify sh
db-migrate:
@docker compose -f docker-compose.dev.yml exec notify npm run db:migrate:latest
db-rollback:
@docker compose -f docker-compose.dev.yml exec notify npm run db:migrate:rollback
db-seed:
@docker compose -f docker-compose.dev.yml exec notify npm run db:seed:run
db-reset:
make db-rollback
make db-migrate
make db-seed
up:
@docker compose -f docker-compose.dev.yml up
up-d:
@docker compose -f docker-compose.dev.yml up -d
log:
@docker compose -f docker-compose.dev.yml logs -f
down:
@docker compose -f docker-compose.dev.yml down
clean:
@rm -rf ./dist
@docker compose -f docker-compose.dev.yml down --rmi all --volumes --remove-orphans
@docker volume rm $$(docker volume ls -q -f name=notify_) 2>/dev/null || true
@docker volume prune -f
@docker image prune -a -f
@docker network prune -f
@docker system prune -a -f