Permalink
Browse files

Adding ARM building in Makefile (#275)

* Adding ARM building in Makefile

* Adding goss-linux-arm as a build target
  • Loading branch information...
elfgoh authored and aelsabbahy committed Sep 12, 2017
1 parent dcc3d4b commit b3b073644f7cdebf2a2d5afec8cfd821d58afaf7
Showing with 6 additions and 1 deletion.
  1. +6 −1 Makefile
View
@@ -41,12 +41,17 @@ release/goss-linux-386: $(GO_FILES)
release/goss-linux-amd64: $(GO_FILES)
$(info INFO: Starting build $@)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$(TRAVIS_TAG) -s -w" -o release/$(cmd)-linux-amd64 $(exe)
release/goss-linux-arm: $(GO_FILES)
$(info INFO: Starting build $@)
CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags "-X main.version=$(TRAVIS_TAG) -s -w" -o release/$(cmd)-linux-arm $(exe)
release:
$(MAKE) clean
$(MAKE) build
build: release/goss-linux-386 release/goss-linux-amd64
build: release/goss-linux-386 release/goss-linux-amd64 release/goss-linux-arm
test-int: centos7 wheezy precise alpine3 arch
test-int-32: centos7-32 wheezy-32 precise-32 alpine3-32 arch-32

0 comments on commit b3b0736

Please sign in to comment.