Skip to content

Commit

Permalink
goreleaser main path
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Feb 16, 2019
1 parent 3c0d3d5 commit e27fe4f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yml
@@ -1,3 +1,6 @@
build:
main: ./cmd/ipdr/ipdr.go

builds:
- binary: ipdr
goos:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -53,13 +53,13 @@ lint: $(GOMETALINTER)
## build: Builds project into an executable binary.
.PHONY: build
build:
go build -o bin/ipdr cmd/ipdr/main.go
go build -o bin/ipdr cmd/ipdr/ipdr.go

## release: Release a new version. Runs `goreleaser internally.
.PHONY: release
release:
@rm -rf dist
goreleaser cmd/ipdr/main.go
goreleaser

.PHONY: help
help: Makefile
Expand Down
File renamed without changes.

0 comments on commit e27fe4f

Please sign in to comment.