-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (29 loc) · 809 Bytes
/
Makefile
File metadata and controls
37 lines (29 loc) · 809 Bytes
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
# SPDX-FileCopyrightText: 2024 Alec Delaney
# SPDX-License-Identifier: MIT
include .env
export
.PHONY: start-prod
start-prod:
sh scripts/update_cache.sh
docker compose -f docker/prod-docker-compose.yaml up -d --build
sh scripts/delete_artifacts.sh
.PHONY: start-test
start-test:
sh scripts/update_cache.sh
docker compose -f docker/test-docker-compose.yaml up -d --build
sh scripts/delete_artifacts.sh
.PHONY: stop-prod
stop-prod:
docker compose -f docker/prod-docker-compose.yaml down prod-app prod-cache --volumes
.PHONY: stop-test
stop-test:
docker compose -f docker/test-docker-compose.yaml down test-app test-cache --volumes
.PHONY: lint
lint:
pre-commit run ruff --all-files
.PHONY: format
format:
pre-commit run ruff-format --all-files
.PHONY: check
check:
pre-commit run --all-files