4 Commits

Author SHA1 Message Date
Marco Argentieri
cb810d65b3 goreleaser: Add windows target (#128)
* goreleaser: Add windows target

* bump go to 1.17
2021-12-16 11:55:25 +01:00
Marco Argentieri
aeb6ff17b2 GoReleaser: Build also for arm64 architectures 2021-10-30 17:31:38 +02:00
Marco Argentieri
70e22ba402 refactor codebase with urfave/cli (#120)
* 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>
2021-08-06 18:09:13 +02:00
Francis
5af3371205 Added version command and goreleaser (#100)
* added version command and goreleaser

* added release to Makefile. adapted build and clean scripts to gorelease. changed version short text output

* reverted clean and build scripts. changed path for builds

* added dist field to goreleaser

* added post hook

* disabled archiving

* added archive name template

* changed archive name template

* changed archive name template

* changed goreleaser.yml

* removed pre hooks
2020-09-21 19:44:22 +02:00