mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-26 21:42:48 +01:00
Add documentation to website for bitcoin-s-cli native image (#2591)
* Add documentation to website for bitcoin-s-cli native image * Address ben's code review
This commit is contained in:
parent
b3a8d31090
commit
8f548d887b
1 changed files with 24 additions and 1 deletions
|
@ -35,4 +35,27 @@ Usage: bitcoin-s-cli [options] [<cmd>]
|
|||
```
|
||||
|
||||
|
||||
Now you are are ready to start the server that the cli sends commands to. Take a look at our [server](server.md) documentation on how to build and start the server.
|
||||
Now you are are ready to start the server that the cli sends commands to. Take a look at our [server](server.md) documentation on how to build and start the server.
|
||||
|
||||
### Native binaries
|
||||
|
||||
Bitcoin-s also supports building native executables for various platforms supported by the [graalvm native image](https://www.graalvm.org/reference-manual/native-image/) tool.
|
||||
|
||||
You can build by using the [native image plugin for sbt](https://github.com/scalameta/sbt-native-image). This will download the appropriate graalvm
|
||||
version and the native image tool, and then build the cli
|
||||
|
||||
```bashrc
|
||||
sbt cli/nativeImage
|
||||
```
|
||||
|
||||
After the build is done, you can find the artifact here locally
|
||||
|
||||
```bashrc
|
||||
app/cli/target/native-image/bitcoin-s-cli
|
||||
```
|
||||
|
||||
We also publish native image binaries every time we merge a commit to master on github.
|
||||
As an example, you can [see the artifacts](https://github.com/bitcoin-s/bitcoin-s/actions?query=workflow%3A%22Native+Image+bitcoin-s-cli%22)
|
||||
in the upper right hand corner.
|
||||
|
||||
If you don't want to build the `bitcoin-s-cli` yourself, you can download it for your platform there.
|
Loading…
Add table
Reference in a new issue