-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 625 Bytes
/
Copy pathMakefile
File metadata and controls
26 lines (19 loc) · 625 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
.PHONY: build
test:
@go test -cover -race ./... | grep -v '^?'
fmt:
go fmt ./...
count-lines:
@echo "total code lines:" && find . -name "*.go" -exec cat {} \; | wc -l
build:
@echo "⚙️ Installing web player dependencies..."
@npm ci --prefix ./web/player
@echo "⚙️ Installing web studio dependencies..."
@npm ci --prefix ./web/studio
@echo "🛠️ Building web player..."
@npm run build --prefix ./web/player
@echo "🛠️ Building web studio..."
@npm run build --prefix ./web/studio
@echo "🛠️ Building web server..."
@go build ./cmd/main.go
@echo "✅ Build completed successfully"