-
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.
* refactor handler to be more idiomatic * update makefile with more stuff * Refactor beacon parser to use first form element * cleanup ci make task and fix a woopsies * update readme
- Loading branch information
1 parent
848708a
commit ac5a94e
Showing
5 changed files
with
58 additions
and
54 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
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
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,20 +1,27 @@ | ||
all: clean goboom dev | ||
.PHONY: ci clean dev lint setup test | ||
|
||
dev: clean goboom | ||
./goboom \ | ||
-address localhost:3000 \ | ||
-origin .* \ | ||
-url "/beacon" | ||
|
||
ci: clean setup lint test goboom | ||
|
||
clean: | ||
rm -rf ./goboom | ||
|
||
ci: clean | ||
setup: | ||
go get -t -d -v ./... | ||
go test -v -cover ./... | ||
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -tags netgo -a -v -o ./goboom ./cli | ||
|
||
goboom: | ||
go build -o ./goboom ./cli | ||
lint: | ||
go get golang.org/x/lint/golint | ||
golint -set_exit_status | ||
go vet -all -v | ||
|
||
dev: clean goboom | ||
./goboom \ | ||
-address localhost:3000 \ | ||
-origin .* \ | ||
-url "/beacon" | ||
test: | ||
go test -v -cover ./... | ||
|
||
.PHONY: all ci clean dev | ||
|
||
goboom: | ||
go build -o ./goboom ./cli |