generated from okp4/template-oss
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #853 from axone-protocol/build/heighliner
Build/heighliner
- Loading branch information
Showing
5 changed files
with
53 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
|
||
- name: Build go project | ||
run: | | ||
make build | ||
make build-go | ||
build-docker: | ||
runs-on: ubuntu-22.04 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,6 +110,7 @@ Targets: | |
build Build all available artefacts (executable, docker image, etc.) | ||
build-go Build node executable for the current environment (default build) | ||
build-go-all Build node executables for all available environments | ||
build-docker Build docker image | ||
Install: | ||
install Install node executable | ||
Test: | ||
|
@@ -137,6 +138,7 @@ Targets: | |
Dependencies: | ||
deps Install all the dependencies (tools, etc.) | ||
deps-tparse Install tparse v0.16.0 (github.com/mfridman/[email protected]) | ||
deps-heighliner Install heighliner v1.7.1 (github.com/strangelove-ventures/[email protected]) | ||
Help: | ||
help Show this help. | ||
|
@@ -148,14 +150,23 @@ This Makefile depends on docker. To install it, please follow the instructions: | |
|
||
### Build | ||
|
||
To build the `axoned` node, invoke the goal `build` of the `Makefile`: | ||
To build the `axoned` node, invoke the goal `build-go` of the `Makefile`: | ||
|
||
```sh | ||
make build | ||
make build-go | ||
``` | ||
|
||
The binary will be generated under the folder `target/dist`. | ||
|
||
### Build a docker image | ||
|
||
This project leverages [heighliner](https://github.com/strangelove-ventures/heighliner) to simplify the management and | ||
creation of production-grade container images. To build a Docker image, use the `build-docker` target in the `Makefile`: | ||
|
||
```sh | ||
make build-docker | ||
``` | ||
|
||
### Run a local network | ||
|
||
To initialize a local network configuration, invoke the goal `chain-init` of the `Makefile`: | ||
|