- Go 1.19
To run a basic build:
$ make build
To install the empowerd
executable:
$ make install
To spin up a local chain:
$ make serve
To kill the running instance:
$ make kill-all
To run unit tests:
$ make test-unit
To run e2e tests (and unit tests):
$ make test
To run a basic smoke test (spins up the chain and runs a couple of commands against it)
$ make smoketest
EmpowerChain is using Earthly heavily for CI/CD. It abstracts away the underlying CI/CD system (such as GitHub actions) and allows you to run the same commands locally using a docker-like environment and set-up.
In short, Earthly is like a combination of Docker and a Makefile.
For instance, to run the tests in almost the same way as the GitHub action, you can run:
$ earthly -P +test
To see more targets, take a look at the Earthfile in this directory.