This repository has been archived by the owner on May 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Full instructions for compiling and executing.
- Loading branch information
1 parent
073d164
commit bf19934
Showing
3 changed files
with
32 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,3 +1,4 @@ | ||
.idea | ||
bin* | ||
smartyping.test | ||
smartyping.test.exe |
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/make -f | ||
|
||
compress: compile | ||
zip -r 'bin-$(shell git describe).zip' ./bin | ||
|
||
compile: prepare | ||
GOOS=darwin go test -c -o ./bin/macos/smartyping | ||
GOOS=linux GOARCH=386 go test -c -o ./bin/linux-386/smartyping | ||
GOOS=linux GOARCH=amd64 go test -c -o ./bin/linux-amd64/smartyping | ||
GOOS=windows GOARCH=386 go test -c -o ./bin/windows-386/smartyping | ||
GOOS=windows GOARCH=amd64 go test -c -o ./bin/windows-amd64/smartyping | ||
|
||
prepare: clean | ||
mkdir -p ./bin/macos | ||
mkdir -p ./bin/linux-386 | ||
mkdir -p ./bin/linux-amd64 | ||
mkdir -p ./bin/windows-386 | ||
mkdir -p ./bin/windows-amd64 | ||
|
||
clean: | ||
rm -rf ./bin* |
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