This commit is contained in:
Michiel Borkent 2021-03-20 20:47:21 +01:00
parent 423789a8a9
commit a8319d42c1
2 changed files with 12 additions and 0 deletions

4
bb.edn Normal file
View file

@ -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]}}}

View file

@ -0,0 +1,8 @@
(ns tasks)
(defn -main
"Usage: just pass some args.
This is the main main function in this namespace."
[& args]
args)