diff --git a/bb.edn b/bb.edn new file mode 100644 index 00000000..1a5d83df --- /dev/null +++ b/bb.edn @@ -0,0 +1,4 @@ +{:paths ["test-resources/task_scripts"] + :tasks {:main-task {:task/type :main + :main tasks ;; this calls tasks/-main + :args [1 2 3]}}} diff --git a/test-resources/task_scripts/tasks.clj b/test-resources/task_scripts/tasks.clj new file mode 100644 index 00000000..234af891 --- /dev/null +++ b/test-resources/task_scripts/tasks.clj @@ -0,0 +1,8 @@ +(ns tasks) + +(defn -main + "Usage: just pass some args. + + This is the main main function in this namespace." + [& args] + args)