Skip to content

Commit

Permalink
add release target to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
brentp committed Feb 26, 2019
1 parent 5683246 commit cc8048d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Makefile
@@ -1,13 +1,11 @@
all: get build

release:
CGO_ENABLED=0 GOARCH=amd64 go build -o vcfanno_linux64 --ldflags '-extldflags "-static"' vcfanno.go
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -o vcfanno_osx --ldflags '-extldflags "-static"' vcfanno.go

get:
go get github.com/brentp/irelate
go get github.com/brentp/irelate/interfaces
go get github.com/brentp/irelate/parsers
go get github.com/brentp/vcfanno/api
go get github.com/brentp/vcfanno/shared
go get github.com/brentp/vcfgo
go get github.com/brentp/xopen
go get -t ./...

build:
go build -o vcfanno vcfanno.go

0 comments on commit cc8048d

Please sign in to comment.