Jzignet module template
Template for building Janet modules with Zig with the help of Jzignet.
Requires Zig version of at least 0.9.0, zig executable must be in PATH. You can download the latest Zig build from https://ziglang.org/download/. You will also need Janet and jpm installed on your system https://github.com/janet-lang/janet/releases.
How to use
- Clone this repository with submodules:
$ git clone --recursive https://github.com/greenfork/jzignet-module-template
- Change all files however your like.
- Try building it:
$ jpm build
- Push your repository online.
- Use your repository link as a dependency in
project.janet
file.
See example of using this template. Also source code is heavily commented.
If you want to clear git history after cloning this repository, just re-initialize git repository:
$ rm -rf .git
$ git init .
License
MIT, see LICENSE file.