Example Janet native library, with native C methods hello
, namaste
, etc.
This assumes Janet language runtime, and janet
CLI is successfully installed on the system. Also the jpm
package manager is available on the command line.
Execute the following. You might need to use root
or sudo
privileges depending on Janet installation directory permissions on the system.
$ jpm install https://github.com/kixus/mycom-mygreetlib.git
Execute the following -
$ jpm test