build: isolate compilation and generation targets

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jamesread
2026-09-10 16:25:07 +01:00
co-authored by Cursor
parent fc74df041c
commit 5f53faacd7
2 changed files with 3 additions and 7 deletions
+2 -6
View File
@@ -14,14 +14,10 @@ prep:
go generate ./...
compile-armhf:
go env -w GOARCH=arm GOARM=6
go build -o OliveTin.armhf
go env -u GOARCH GOARM
GOOS=linux GOARCH=arm GOARM=6 go build -o OliveTin.armhf
compile-x64-lin:
go env -w GOOS=linux
go build -o OliveTin
go env -u GOOS
GOOS=linux GOARCH=amd64 go build -o OliveTin
compile-x64-win: windows-resources
GOOS=windows GOARCH=amd64 go build -o OliveTin.exe
+1 -1
View File
@@ -1,3 +1,3 @@
//go:generate make -wC ../
//go:generate make -wC ../ proto
package main