This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor improvements to readme and godoc; new build script
- Loading branch information
Showing
4 changed files
with
55 additions
and
24 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.DS_Store | ||
_gitignore | ||
builds/ |
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
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,21 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# This script builds archiver for most common platforms. | ||
|
||
export CGO_ENABLED=0 | ||
|
||
cd archiver | ||
GOOS=linux GOARCH=386 go build -o ../builds/archiver_linux_386 | ||
GOOS=linux GOARCH=amd64 go build -o ../builds/archiver_linux_amd64 | ||
GOOS=linux GOARCH=arm go build -o ../builds/archiver_linux_arm7 | ||
GOOS=linux GOARCH=arm64 go build -o ../builds/archiver_linux_arm64 | ||
GOOS=darwin GOARCH=amd64 go build -o ../builds/archiver_mac_amd64 | ||
GOOS=windows GOARCH=386 go build -o ../builds/archiver_windows_386.exe | ||
GOOS=windows GOARCH=amd64 go build -o ../builds/archiver_windows_amd64.exe | ||
GOOS=freebsd GOARCH=386 go build -o ../builds/archiver_freebsd_386 | ||
GOOS=freebsd GOARCH=amd64 go build -o ../builds/archiver_freebsd_amd64 | ||
GOOS=freebsd GOARCH=arm go build -o ../builds/archiver_freebsd_arm7 | ||
GOOS=openbsd GOARCH=386 go build -o ../builds/archiver_openbsd_386 | ||
GOOS=openbsd GOARCH=amd64 go build -o ../builds/archiver_openbsd_amd64 | ||
cd .. |
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