Skip to content

A tiny Hello World example for the fnx Package Manager.

Notifications You must be signed in to change notification settings

gbaptista/fnx-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Hello World

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"}}}}

Install and validate

fnx dep install

fnx --eval "((. (require :hello-world) :try))"

Use the package in your code

Create a demo.fnl file:

(local hello (require "hello-world"))

(print (hello.try))

Run the file:

fnx demo.fnl

About

A tiny Hello World example for the fnx Package Manager.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages