A tiny Hello World example for the fnx Package Manager.
Create your first .fnx.fnl
file in some directory:
{:name "my-first-package"
:version "0.0.1"
:dependencies {
:hello-world {:fennel/fnx {:git/github "gbaptista/fnx-hello-world"}}}}
fnx dep install
fnx --eval "((. (require :hello-world) :try))"
Create a demo.fnl
file:
(local hello (require "hello-world"))
(print (hello.try))
Run the file:
fnx demo.fnl