mirror of
https://github.com/cf-sonr/hway.git
synced 2026-01-12 03:09:14 +00:00
feat: Dockerize the application
This commit is contained in:
4
Makefile
4
Makefile
@@ -6,12 +6,12 @@ BINDIR ?= $(GOPATH)/bin
|
||||
# for dockerized protobuf tools
|
||||
DOCKER := $(shell which docker)
|
||||
HTTPS_GIT := github.com/onsonr/hway.git
|
||||
|
||||
export RELEASE_DATE="$(date +%Y).$(date +%V).$(date +%u)"
|
||||
|
||||
all: install test
|
||||
|
||||
build: go.sum
|
||||
go build -o build/hway ./cmd
|
||||
go build -o build/hway .
|
||||
|
||||
install: go.sum
|
||||
go install -mod=readonly ./cmd/hway
|
||||
|
||||
Reference in New Issue
Block a user