Files
ark/noah/scripts/build
Louis Singer a17aba8356 Noah CLI implementation (#42)
* Import stubs

* send and balance cmd implementations

* ListVtxos & faucet

* main.go: add faucetCommand

* fix after review

* send: continue if no forfeits included in current round

* remove cov in noah/Makefile

* fancy printJSON

* remove rpc_url

---------

Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
2023-12-06 12:57:35 +01:00

17 lines
237 B
Bash
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 -ldflags="-s -w" -o build/noah-$OS-$ARCH .
popd