2021-11-12 11:11:49 +00:00
|
|
|
(defmulti task first)
|
|
|
|
|
|
|
|
(defmethod task :default
|
|
|
|
[[task-name]]
|
|
|
|
(println "Unknown task:" task-name)
|
|
|
|
(System/exit 1))
|
|
|
|
|
|
|
|
(require '[figwheel.main :as figwheel])
|
|
|
|
|
|
|
|
(defmethod task nil
|
|
|
|
[_]
|
|
|
|
(figwheel/-main "--build" "dev"))
|
|
|
|
|
|
|
|
(require '[music.core])
|
|
|
|
|
|
|
|
(defmethod task "play"
|
|
|
|
[_]
|
2021-11-12 17:12:49 +00:00
|
|
|
(music.core/-main "main_theme"))
|
2021-11-12 11:11:49 +00:00
|
|
|
|
|
|
|
(task *command-line-args*)
|