forked from srbhr/Resume-Matcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (23 loc) · 847 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (23 loc) · 847 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
.SHELL := /usr/bin/env bash
.PHONY: all help setup dev build clean
all: help
help:
@echo "Usage: make [target]"
@echo "Available targets:"
@echo " setup Run the setup script to configure the project"
@echo " run-dev Setup and start the development server (with graceful shutdown)"
@echo " run-prod Build the project for production"
@echo " clean Clean up generated artifacts"
setup:
@echo "🔧 Running setup.sh…"
@bash setup.sh
run-dev:
@echo "🚀 Starting development server…"
@bash -c 'trap "echo "\n🛑 Development server stopped"; exit 0" SIGINT; npm run dev'
run-prod:
@echo "📦 Building for production…"
@npm run build
clean:
@echo "🧹 Cleaning artifacts…"
# Add commands to clean build and temp files, e.g.:
# rm -rf node_modules apps/backend/.venv apps/frontend/node_modules