Skip to content

Commit

Permalink
Fix warning in build
Browse files Browse the repository at this point in the history
  • Loading branch information
takahi-i committed Oct 27, 2015
1 parent 7175411 commit 5fcc021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ if [ "--fmt" = "$1" ]; then
fi

#go install github.com/recruit-tech/walter
go build -ldflags "-X ${REPO_PATH}/version.Version \"$(git describe --tags --always --dirty)\" -X ${REPO_PATH}/version.Build \"$(git --no-pager log -1 --pretty=format:%h)\"" -o bin/walter ${REPO_PATH}
go build -ldflags "-X ${REPO_PATH}/version.Version=\"$(git describe --tags --always --dirty)\" -X ${REPO_PATH}/version.Build=\"$(git --no-pager log -1 --pretty=format:%h)\"" -o bin/walter ${REPO_PATH}
6 changes: 1 addition & 5 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ build:
name: run test.sh
code: |-
sh ./test.sh
- script:
name: build binary
code: |
. ./build
goxc -tasks='xc archive' -n walter -bc='linux,!arm windows darwin' -main-dirs-exclude='gopath,Godeps,tests' -d ${WERCKER_OUTPUT_DIR} -build-ldflags "-X ${REPO_PATH}/version.Version \"$(git describe --tags --always --dirty)\""
deploy:
steps:
# reference: https://github.com/motemen/ghq/blob/beee539aead9c3940a0c4706357c5753999f6c85/wercker.yml
Expand Down

0 comments on commit 5fcc021

Please sign in to comment.