mirror of
https://github.com/aljazceru/ark.git
synced 2026-02-01 01:24:39 +01:00
* 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>
17 lines
237 B
Bash
Executable File
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
|