Skip to content

Commit

Permalink
try to guess os in makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgeller committed Jun 22, 2016
1 parent 7eb894f commit 4ee3d75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export SHELL:=/usr/bin/env bash -O extglob -c
export GO15VENDOREXPERIMENT:=1
export OS=$(shell uname | tr '[:upper:]' '[:lower:]')

build: GOOS ?= darwin
build: GOOS ?= ${OS}
build: GOARCH ?= amd64
build: test
rm -f kt
Expand Down

0 comments on commit 4ee3d75

Please sign in to comment.