Support cross-compiling for clients

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
This commit is contained in:
Andy Goldstein
2017-10-24 12:26:26 -04:00
parent a1b43c43ad
commit e38b6d0f4c
18 changed files with 385 additions and 95 deletions
+5
View File
@@ -17,6 +17,9 @@
ARK_ROOT=$(realpath $(dirname ${BASH_SOURCE})/..)
BIN=${ARK_ROOT}/_output/bin
mkdir -p ${BIN}
echo "Updating generated docs"
go build -o ${BIN}/docs-gen ./docs/generate/ark.go
if [[ $# -gt 1 ]]; then
@@ -30,3 +33,5 @@ if [[ -z "${OUTPUT_DIR}" ]]; then
fi
${BIN}/docs-gen ark ${OUTPUT_DIR}
echo "Success!"