-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (30 loc) · 809 Bytes
/
Makefile
File metadata and controls
42 lines (30 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
38
39
40
41
42
IMAGE_ID := ghcr.io/hexlet-components/http-example
PORT ?= 8080
setup:
npm ci
make compile
compile:
npx tsp compile ./typespec/http-api/main.tsp --output-dir "./tsp-output/http-api"
npx tsp compile ./typespec/postman/main.tsp --output-dir "./tsp-output/postman"
npx tsp compile ./typespec/http-protocol/main.tsp --output-dir "./tsp-output/http-protocol"
npx tsp compile ./typespec/js-playwright/main.tsp --output-dir "./tsp-output/js-playwright"
start:
./bin/start.sh
test:
echo no tests
update-deps:
npx ncu -u
compose-build:
docker compose build
compose-bash:
docker compose run --rm app sh
compose-setup:
docker compose run --rm app setup
compose:
docker compose up
compose-down:
docker compose down
compose-logs:
docker compose logs -f --tail=200
compose-ps:
docker compose ps