-
Notifications
You must be signed in to change notification settings - Fork 358
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
1 parent
7a5a262
commit 19abcd8
Showing
1 changed file
with
28 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
build: | ||
go build -o ruler ruler.go | ||
|
||
run: | ||
go run ruler.go | ||
|
||
compile: | ||
# 32-bit | ||
# Linux | ||
GOOS=linux GOARCH=386 go build -o ruler-linux86 | ||
sha256sum ruler-linux86 | ||
# Windows | ||
GOOS=windows GOARCH=386 go build -o ruler-win86.exe | ||
sha256sum ruler-win86.exe | ||
# OSX | ||
GOOS=darwin GOARCH=386 go build -o ruler-osx86 | ||
sha256sum ruler-osx86 | ||
|
||
# 64-bit | ||
# Linux | ||
GOOS=linux GOARCH=amd64 go build -o ruler-linux64 | ||
sha256sum ruler-linux64 | ||
# Windows | ||
GOOS=windows GOARCH=amd64 go build -o ruler-win64.exe | ||
sha256sum ruler-win64.exe | ||
# OSX | ||
GOOS=darwin GOARCH=amd64 go build -o ruler-osx64 | ||
sha256sum ruler-osx64 |