mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 05:58:44 +00:00
Fix build
This commit is contained in:
@@ -11,7 +11,13 @@ rm -rf output/*
|
||||
|
||||
if ! which gox > /dev/null; then
|
||||
echo "-> installing gox..."
|
||||
# Need to run go get in a separate dir
|
||||
# so it doesn't modify our go.mod.
|
||||
SRC_DIR=$(pwd)
|
||||
cd $(mktemp -d)
|
||||
go mod init example.com/m
|
||||
go get -u github.com/mitchellh/gox
|
||||
cd "$SRC_DIR"
|
||||
fi
|
||||
|
||||
# build
|
||||
@@ -41,4 +47,4 @@ echo ""
|
||||
echo ""
|
||||
echo "-----------------------------------"
|
||||
echo "Output:"
|
||||
ls -alh output/
|
||||
ls -alh output/
|
||||
|
||||
Reference in New Issue
Block a user