Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
Add script to compile binaries for various platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
wilriker committed May 31, 2019
1 parent 5808e69 commit a11b66f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
duetbackup
duetbackup-*
7 changes: 7 additions & 0 deletions compile.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env fish

env GOOS=linux GOARCH=arm go build -o duetbackup-linux-arm duetbackup.go
env GOOS=linux GOARCH=arm GOARM=7 go build -o duetbackup-linux-armv7 duetbackup.go
env GOOS=linux go build -o duetbackup-linux_amd64 duetbackup.go
env GOOS=windows go build -o duetbackup-windows_amd64 duetbackup.go
env GOOS=darwin go build -o duetbackup-darwin_amd64 duetbackup.go

0 comments on commit a11b66f

Please sign in to comment.