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.
Fix timezone issue on Windows (hopefully)
Also use httpClient everywhere instead of default client Adjust packaging script
- Loading branch information
Showing
3 changed files
with
20 additions
and
11 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,2 +1,4 @@ | ||
duetbackup | ||
duetbackup-* | ||
duetbackup.exe | ||
*.tgz |
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,7 +1,16 @@ | ||
#!/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 | ||
env GOOS=linux GOARCH=arm go build duetbackup.go | ||
and tar czf duetbackup-linux_arm.tgz duetbackup LICENSE | ||
|
||
env GOOS=linux GOARCH=arm64 go build duetbackup.go | ||
and tar czf duetbackup-linux_arm64.tgz duetbackup LICENSE | ||
|
||
env GOOS=linux go build duetbackup.go | ||
and tar czf duetbackup-linux_amd64.tgz duetbackup LICENSE | ||
|
||
env GOOS=windows go build -o duetbackup.exe duetbackup.go | ||
and zip -r duetbackup-windows_amd64.zip duetbackup.exe LICENSE | ||
|
||
env GOOS=darwin go build duetbackup.go | ||
and tar czf duetbackup-darwin_amd64.tgz duetbackup LICENSE |
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