Add build.zig file

This commit is contained in:
Frank Denis 2021-10-08 15:04:21 +02:00
parent f6965a0858
commit 52ccad8685
3 changed files with 29 additions and 5 deletions

View file

@ -16,11 +16,22 @@ public key:
Compilation / installation
--------------------------
## Using [Zig](https://ziglang.org):
Dependencies:
* [libsodium](https://libsodium.org/)
Compilation:
$ zig build -Drelease-small
## Using cmake and gcc or clang:
* [libsodium](https://libsodium.org/)
* cmake
* pkg-config
* gcc or clang
Compilation:
@ -50,10 +61,6 @@ Minisign is also available in chocolatey on Windows:
$ choco install minisign
Minisign is also available on Ubuntu as a PPA:
$ [sudo] add-apt-repository ppa:dysfunctionalprogramming/minisign
Minisign is also available with docker:
$ docker run -i --rm jedisct1/minisign