mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 20:24:21 +01:00
* Rename arkd folder & drop cli * Rename ark cli folder & update docs * Update readme * Fix * scripts: add build-all * Add target to build cli for all platforms * Update build scripts --------- Co-authored-by: tiero <3596602+tiero@users.noreply.github.com>
18 lines
239 B
Plaintext
Executable File
18 lines
239 B
Plaintext
Executable File
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
PARENT_PATH=$(dirname $(
|
|
cd $(dirname $0)
|
|
pwd -P
|
|
))
|
|
|
|
OS=$(eval "go env GOOS")
|
|
ARCH=$(eval "go env GOARCH")
|
|
|
|
pushd $PARENT_PATH
|
|
mkdir -p build
|
|
GO111MODULE=on go build -o build/arkd-$OS-$ARCH cmd/arkd/main.go
|
|
popd
|
|
|