main
This commit is contained in:
parent
423789a8a9
commit
a8319d42c1
2 changed files with 12 additions and 0 deletions
4
bb.edn
Normal file
4
bb.edn
Normal 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]}}}
|
||||||
8
test-resources/task_scripts/tasks.clj
Normal file
8
test-resources/task_scripts/tasks.clj
Normal 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)
|
||||||
Loading…
Reference in a new issue