Closed geoffreyvanwyk closed 7 years ago
lein run
-main
q/defsketch
(defn -main)
:main
Thank Geoffrey! I originally didn't want to complicate clj file of generated file project, but using lein run instead of lein run -m foo.core feels cleaner.
lein run -m foo.core
lein run
command. This was due to the missing-main
function.q/defsketch
in(defn -main)
, and add:main
key to project.clj.:main
key has been added to project.clj, it is no longer necessary to specify main namespace tolein run
command.