build default task in Makefile

This commit is contained in:
Andrea Franz 2019-02-15 16:32:37 +01:00
parent f53574789a
commit 2bc233b65b
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
1 changed files with 3 additions and 3 deletions

View File

@ -6,14 +6,14 @@ GO_PROJECT_PATH=github.com/status-im/$(PROJECT_NAME)
BIN_NAME=status-hardware-wallet
DOCKER_IMAGE_NAME=status-hardware-wallet-build
test:
go test -v ./...
build:
go build -i -o $(GOBIN)/$(BIN_NAME) -v ./cmd/status-hardware-wallet
@echo "Compilation done."
@echo "Run \"build/bin/$(BIN_NAME) -h\" to view available commands."
test:
go test -v ./...
build-docker-image:
docker build -t $(DOCKER_IMAGE_NAME) -f _assets/Dockerfile .