Skip to content

Commit

Permalink
Add OS spcific releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlbr committed Oct 27, 2016
1 parent 81e48f7 commit 5536f9c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ deploy:
api_key:
secure: XPhw38FunRJcRFgVY8ZLSIm1tD8WL+xxlsIgIRl7yGxTCUxwjv5W35RHRxObGuJD4XtN/xIaliNS7SV8e8d31B2+Ar6oZRdnLUW3rfBPBW9WkkuLXt1fW07kw3HCk3scoSqi6RFmdKMmMYb5UVGvJGP/RaXUfo+MnkUFGte725MMTAaYulRDtwOdTa5NBazDg6DAqOlKczt8uai6ZdyMxQAGPoaC2fLsQ2LDNrELkxFREQ6FU5tj6l5MaodtBUhURZg/mqGGCUzoTqGIXBGW8FkFOSYEwOyXori3b9lUf3eHtbUh9V9pveQEo/SPUKHv6pPgrxvebLlAoPUVZTrlJF/nw5/QINKnbqIZyt87mdguKEVppGkUkj7Q9vmgt4sd3stC0WNmPnGigtsfAuxRFf7Mj+PBFZXkYkM7WsjnbCb3fDMksVSm4lFA2NSajLKqk87OixaRjuyd6mn43HGd8I3iGKWj4w+Ue9eZF8rbDPWjD/w9xM1i2vrtWPivSw3VlcvasPcrcQGpoSuISB8MPHBaJVqZ14kLsAKXXOMfeymNbf/e54RIaORh/p0oE5MPbYAI7VI+kNFxklA9VYbhzKm+nEVYSNanye2ynngnwcaMlNTOJ0kbYgRGB6QJmoP5a4vLWoQXq6u4LZEiPbS9F/aUK+QtyTilsiIuHauMQVw=
file:
- bin/linux_x86_64/feiertage
- bin/osx_x86_64/feiertage
- bin/win32/feiertage
- bin/win64/feiertage
- bin/feiertage_linux_x86_64
- bin/feiertage_osx_x86_64
- bin/feiertage_win32
- bin/feiertage_win64
on:
repo: wlbr/feiertage
repo: wlbr/feiertage
tags: true
after_deploy: make clean
12 changes: 5 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ build: feiertage.go region.go
go build ./...

buildcmd: feiertage.go region.go cmd/feiertage/feiertage.go
mkdir -p bin/linux_x86_64 bin/osx_x86_64 bin/win32 bin/win64
GOOS=linux GOARCH=amd64 go build -o bin/linux_x86_64/feiertage cmd/feiertage/feiertage.go
GOOS=darwin GOARCH=amd64 go build -o bin/osx_x86_64/feiertage cmd/feiertage/feiertage.go
GOOS=windows GOARCH=386 go build -o bin/win32/feiertage cmd/feiertage/feiertage.go
GOOS=windows GOARCH=amd64 go build -o bin/win64/feiertage cmd/feiertage/feiertage.go
mkdir -p bin
GOOS=linux GOARCH=amd64 go build -o bin/feiertage_linux_x86_64 cmd/feiertage/feiertage.go
GOOS=darwin GOARCH=amd64 go build -o bin/feiertage_osx_x86_64 cmd/feiertage/feiertage.go
GOOS=windows GOARCH=386 go build -o bin/feiertage_win32 cmd/feiertage/feiertage.go
GOOS=windows GOARCH=amd64 go build -o bin/feiertage_win64 cmd/feiertage/feiertage.go

#install-go-deps:
#go get -u ...

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The region functions return the public holidays ("gesetzliche Feiertage"). The f
## Command line tool

A little command line tool is included as well. It can be compiled using `make buildcmd` or `go build cmd/feiertage/feiertage.go` This will create an executable `feiertage`
A little command line tool is included as well. It can be compiled using `make buildcmd` or `go build cmd/feiertage/feiertage.go` This will create an executable `feiertage`. See https://github.com/wlbr/feiertage/releases/latest for latest releases.

### Synopsis

Expand Down
Binary file added bin/feiertage_linux_x86_64
Binary file not shown.
Binary file added bin/feiertage_osx_x86_64
Binary file not shown.
Binary file added bin/feiertage_win32
Binary file not shown.
Binary file added bin/feiertage_win64
Binary file not shown.

0 comments on commit 5536f9c

Please sign in to comment.