Skip to content

Commit

Permalink
Address #63 Add main function to new-project output
Browse files Browse the repository at this point in the history
  • Loading branch information
sogaiu committed Dec 30, 2022
1 parent 97594f2 commit d2bdfab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jpm/scaffold.janet
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@
`Evaluates to "Hello!"`
[]
"Hello!")
(defn main
[& args]
(print (hello)))
```)

(deftemplate test-template
Expand Down

0 comments on commit d2bdfab

Please sign in to comment.