-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from kool-dev/go-1.15
updates to adopt kool using Go 1.15
- Loading branch information
Showing
6 changed files
with
34 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# GOOS variable for your local development; since the Go docker images are | ||
# Linux based, in case you are developing on MacOS you must uncomment the line below. | ||
#GOOS=darwin | ||
|
||
# GOARCH the architecture to be used for kool run compile script. | ||
#GOARCH=amd64 |
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,5 +1,6 @@ | ||
/kool | ||
/dist/ | ||
/.env | ||
|
||
# IDE | ||
.vscode/ | ||
|
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
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,16 @@ | ||
scripts: | ||
# Helper for local development - parsing presets onto Go, | ||
# compiling and installig locally | ||
dev: | ||
- kool run parse-presets | ||
- kool run compile | ||
- kool run install | ||
# Parsing the preset files onto Go code in a shell automated fashion. | ||
parse-presets: | ||
- bash parse_presets.sh | ||
# Compiling kool itself. In case you are on MacOS make sure to have your .env | ||
# file properly setting GOOS=darwin so you will be able to use the binary. | ||
compile: | ||
- kool docker golang:1.15.0 go build -o kool | ||
install: | ||
- mv kool /usr/local/bin/kools |