Skip to content

Commit

Permalink
Added makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
delirehberi committed Jul 20, 2018
1 parent 4c452ca commit 7b3e7ac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.3
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
APP=sitemap-checker
VERSION=$(shell cat .version)
all: build-linux build-windows build-darwin

build-linux:
GOOS=linux GOARCH=amd64 go build -o build/$(APP)-linux-amd64-$(VERSION) *.go
build-windows:
GOOS=windows GOARCH=amd64 go build -o build/$(APP)-windows-amd64-$(VERSION) *.go
build-darwin:
GOOS=darwin GOARCH=amd64 go build -o build/$(APP)-darwin-amd64-$(VERSION) *.go
Empty file added build/.gitkeep
Empty file.

0 comments on commit 7b3e7ac

Please sign in to comment.