This repository has been archived by the owner on Jun 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to compile binaries for various platforms
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
duetbackup | ||
duetbackup-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |