-
Notifications
You must be signed in to change notification settings - Fork 9
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
8935dad
commit ecf4e91
Showing
16 changed files
with
327 additions
and
1,491 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# with Go source code. If you know what GOPATH is then you probably | ||
# don't need to bother with make. | ||
|
||
.PHONY: dkgcli test clean build docker-build | ||
.PHONY: install clean build test docker-build docker-operators docker-initiator mockgen-install | ||
|
||
GOBIN = ./build/bin | ||
GO ?= latest | ||
|
@@ -17,7 +17,7 @@ DOCKER_IMAGE=ssv-dkg | |
install: | ||
$(GOINSTALL) cmd/ssv-dkg/ssv-dkg.go | ||
@echo "Done building." | ||
@echo "Run dkgcli to launch the tool." | ||
@echo "Run ssv-dkg to launch the tool." | ||
|
||
clean: | ||
env GO111MODULE=on go clean -cache | ||
|
@@ -30,7 +30,7 @@ build: | |
# Recipe to run tests | ||
test: | ||
@echo "running tests" | ||
go test -p 1 ./... | ||
go test -v -p 1 ./... | ||
|
||
# Recipe to build the Docker image | ||
docker-build: | ||
|
@@ -43,4 +43,8 @@ docker-operators: | |
|
||
docker-initiator: | ||
@echo "Running initiator in docker demo" | ||
docker-compose up --build initiator | ||
docker-compose up --build initiator | ||
|
||
mockgen-install: | ||
go install github.com/golang/mock/[email protected] | ||
@which mockgen || echo "Error: ensure `go env GOPATH` is added to PATH" |
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
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
Oops, something went wrong.