-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (32 loc) · 665 Bytes
/
Makefile
File metadata and controls
40 lines (32 loc) · 665 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
.PHONY: build lint format clean setup build docker help
# Initial setup
setup:
npm install
# Build the project
build:
npm run build
# Run linter
lint:
npm run lint
# Format code
format:
npm run format
# Clean up
clean:
rm -rf dist
# Build Docker image
docker:
docker build -t mcp/postgres .
# Show help
help:
@echo 'Usage: make [target]'
@echo ''
@echo 'Targets:'
@echo ' setup Initial setup'
@echo ' build Build the project'
@echo ' lint Run linter'
@echo ' format Format code'
@echo ' clean Clean up build artifacts'
@echo ' docker Build Docker image'
@echo ' help Show this help message'
.DEFAULT_GOAL := build