14 lines
304 B
Clojure
14 lines
304 B
Clojure
(ns tasks
|
|
(:require [com.biffweb.tasks :as tasks]))
|
|
|
|
(defn hello
|
|
"Says 'Hello'"
|
|
[]
|
|
(println "Hello"))
|
|
|
|
;; Tasks should be vars (#'hello instead of hello) so that `clj -M:dev help` can
|
|
;; print their docstrings.
|
|
(def custom-tasks
|
|
{"hello" #'hello})
|
|
|
|
(def tasks (merge tasks/tasks custom-tasks))
|