mirror of
https://github.com/aljazceru/nigiri.git
synced 2025-12-17 06:14:19 +01:00
* clean * load datadir with resources and start compose * start --liquid * check if is running already * Add rpc command * Add logs and faucet commands * Add mint command * Add push command * Move state into dedicated pkg * less code for isRunning check * Add --ci flag to start command * Add NIGIRI_DATADIR env var * add update command * Update readme, makefile and goreleaser * update test gh action * skip tests * print endpoint in start command * Add a default network to docker compose file. Containers started through this docker compose file will be in this isolated network. Note: the minimum version for the docker compose file format is 3.5 which introduces `name` for networks. This file format requires a docker engine version of 17.12.0+. * add prerelease: auto * makefile: release commands * go version * use global flag --datadir for the folder * wrap datadir in variable * use single compose file & move state to internal * remove unused state keys * return err in test * docker-compose: use latest version * print endpoint of services based on --liquid flag Co-authored-by: Philipp Hoenisch <philipp@hoenisch.at>
17 lines
269 B
Bash
Executable File
17 lines
269 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 CGO_ENABLED=0 go build -ldflags="-s -w" -o build/nigiri-$OS-$ARCH cmd/nigiri/*.go
|
|
popd
|