This repository has been archived by the owner on Jan 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
55 additions
and
12 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,3 +1,4 @@ | ||
.DS_Store | ||
_gitignore/ | ||
photos_backup/ | ||
photos_backup/ | ||
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,15 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# This script builds photobak for most common platforms. | ||
|
||
export CGO_ENABLED=0 | ||
|
||
mkdir -p builds | ||
|
||
GOOS=linux GOARCH=386 go build -o builds/photobak_linux_386 | ||
GOOS=linux GOARCH=amd64 go build -o builds/photobak_linux_amd64 | ||
GOOS=linux GOARCH=arm go build -o builds/photobak_linux_arm7 | ||
GOOS=darwin GOARCH=amd64 go build -o builds/photobak_mac_amd64 | ||
GOOS=windows GOARCH=386 go build -o builds/photobak_windows_386.exe | ||
GOOS=windows GOARCH=amd64 go build -o builds/photobak_windows_amd64.exe |