Skip to content

Commit

Permalink
Added gitignore when orchestrator is built
Browse files Browse the repository at this point in the history
Also do not modify the GOPATH, only prepend to it.
  • Loading branch information
shuhaowu committed Jul 2, 2015
1 parent 5659dd8 commit 13a9495
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
orchestrator
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ cp etc/init.d/orchestrator.bash $release_files_dir/etc/init.d/orchestrator
chmod +x $release_files_dir/etc/init.d/orchestrator


GOPATH=/usr/share/golang:$(pwd)
go build -o $release_files_dir/usr/local/orchestrator/orchestrator ./src/github.com/outbrain/orchestrator/main.go
GOPATH=/usr/share/golang:$(pwd):$GOPATH
go build -o $release_files_dir/usr/local/orchestrator/orchestrator main.go

if [[ $? -ne 0 ]] ; then
exit 1
Expand Down

0 comments on commit 13a9495

Please sign in to comment.