-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (29 loc) · 925 Bytes
/
Copy pathMakefile
File metadata and controls
39 lines (29 loc) · 925 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
.PHONY: help install build test typecheck docker-build docker-up docker-down clean
# Default target
all: help
help:
@echo "Relay Proxy - Available Commands:"
@echo " make install Install npm dependencies"
@echo " make build Build the TypeScript application"
@echo " make test Run unit and integration tests"
@echo " make typecheck Run TypeScript compiler check"
@echo " make docker-build Build the Docker image locally"
@echo " make docker-up Start the proxy using Docker Compose"
@echo " make docker-down Stop the proxy running in Docker Compose"
@echo " make clean Remove build artifacts and node_modules"
install:
npm install
build:
npm run build
test:
npm run test
typecheck:
npx tsc --noEmit
docker-build:
docker build -t relay:latest .
docker-up:
docker compose up -d
docker-down:
docker compose down
clean:
rm -rf dist coverage node_modules