mirror of
https://github.com/OliveTin/OliveTin
synced 2026-09-24 02:35:38 +00:00
build: isolate compilation and generation targets
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-6
@@ -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
@@ -1,3 +1,3 @@
|
||||
//go:generate make -wC ../
|
||||
//go:generate make -wC ../ proto
|
||||
|
||||
package main
|
||||
|
||||
Reference in New Issue
Block a user