Skip to content

Commit

Permalink
build: Added release building
Browse files Browse the repository at this point in the history
  • Loading branch information
betapictoris committed Jun 25, 2024
1 parent a89e298 commit 3deb916
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,14 @@ usrinstall: build
install: build
install -Dt /usr/local/bin -m 755 ./build/grave

release:
GOOS=windows GOARCH=amd64 go build -o ./build/grave.exe ./cmd/main.go
GOOS=windows GOARCH=386 go build -o ./build/grave-x86.exe ./cmd/main.go
GOOS=darwin GOARCH=amd64 go build -o ./build/grave.darwin ./cmd/main.go
GOOS=darwin GOARCH=arm64 go build -o ./build/grave-arm64.darwin ./cmd/main.go
GOOS=linux GOARCH=amd64 go build -o ./build/grave ./cmd/main.go
GOOS=linux GOARCH=arm64 go build -o ./build/grave-arm64 ./cmd/main.go
GOOS=linux GOARCH=386 go build -o ./build/grave-x86 ./cmd/main.go

clean:
rm -rf ./build/

0 comments on commit 3deb916

Please sign in to comment.