-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (28 loc) · 740 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (28 loc) · 740 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
.PHONY: help build dev clean test
help:
@echo "Syntaxia - Build Commands"
@echo ""
@echo "Development:"
@echo " make dev - Run development server with hot reload"
@echo ""
@echo "Building:"
@echo " make build - Build for current platform"
@echo ""
@echo "Maintenance:"
@echo " make clean - Clean build artifacts"
@echo " make test - Run tests"
dev:
@echo "Starting development server..."
@cd backend && wails dev
build:
@echo "Building for current platform..."
@mkdir -p build/bin
@cd backend && wails build -clean
clean:
@echo "Cleaning build artifacts..."
@rm -rf build
@rm -rf backend/build
@cd backend && go clean
test:
@echo "Running tests..."
@cd backend && go test ./...