Skip to content

Commit

Permalink
added go modules
Browse files Browse the repository at this point in the history
[#159655881]

Signed-off-by: Debbie Chen <dechen@pivotal.io>
  • Loading branch information
Paul Nikonowicz committed Oct 18, 2018
1 parent a8c9577 commit a0c423f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ my_dir="$( cd "$( dirname "${0}" )" && pwd )"
base_dir="$( cd "${my_dir}/.." && pwd )"

pushd "${base_dir}" > /dev/null
GO111MODULE=on go mod vendor
GOOS="${GOOS}" go build \
-o "${base_dir}/cmd/check/check" \
-ldflags "-X main.version=${VERSION}" \
Expand Down

0 comments on commit a0c423f

Please sign in to comment.