From d2bdfab58736f01077c4b4dd978770f53eec60fb Mon Sep 17 00:00:00 2001 From: sogaiu <983021772@users.noreply.github.com> Date: Fri, 30 Dec 2022 21:59:26 +0900 Subject: [PATCH] Address #63 Add main function to new-project output --- jpm/scaffold.janet | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jpm/scaffold.janet b/jpm/scaffold.janet index f61e128..48b94b5 100644 --- a/jpm/scaffold.janet +++ b/jpm/scaffold.janet @@ -142,6 +142,10 @@ `Evaluates to "Hello!"` [] "Hello!") + + (defn main + [& args] + (print (hello))) ```) (deftemplate test-template