Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Syntax update
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroden84 committed Jan 7, 2020
1 parent 3bc74af commit d0519d4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## go-api provider version
version = 1.0.0

clean:
## remove previous installed go-api

depupdate: clean ## Update all vendored dependencies
dep ensure -v -update

build:
go build -ldflags "-X 'go/src/github.com/84codes/go-api/api.version=$(version)'" -o go-api_v$(version)

install:
go install -ldflags "-X 'go/src/github.com/84codes/go-api/api.version=$(version)'" -o go-api_v$(version)

0 comments on commit d0519d4

Please sign in to comment.