-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 701 Bytes
/
Makefile
File metadata and controls
31 lines (24 loc) · 701 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
.PHONY: build installer run dev format lint lint-fix
# Build the Wails application for production
build:
wails build
# Build the Windows installer via Inno Setup (requires Inno Setup 6 at default path)
installer:
powershell -ExecutionPolicy Bypass -File scripts\build.ps1
# Build and run the production binary
run: build
./build/bin/switchy.exe
# Run the application in development mode with hot-reload
dev:
wails dev
# Format Go code and run Prettier on the frontend
format:
go fmt ./...
cd frontend && npm run format
# Lint Go code and frontend (check only)
lint:
go vet ./...
cd frontend && npm run lint
# Lint and auto-fix frontend issues
lint-fix:
cd frontend && npm run lint:fix