snippets/dev/tasks.clj
2025-06-04 10:47:56 +02:00

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))