-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbb.edn
More file actions
13 lines (13 loc) · 632 Bytes
/
Copy pathbb.edn
File metadata and controls
13 lines (13 loc) · 632 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
{:deps {org.clojars.bzg/organ {:mvn/version "3.3.0"}}
:paths ["src"]
:tasks
{orgy {:doc "Run orgy (e.g. bb orgy -i myblog, bb orgy -i myblog serve)"
:task (do (require 'bzg.orgy)
(apply (resolve 'bzg.orgy/-main) *command-line-args*))}
test {:doc "Run the test suite"
:extra-paths ["test"]
:task (do (require 'clojure.test
'bzg.orgy-test)
(let [{:keys [fail error]}
(clojure.test/run-tests 'bzg.orgy-test)]
(System/exit (if (zero? (+ fail error)) 0 1))))}}}