Skip to content

Commit

Permalink
Undo reordering of tasks in bb.edn
Browse files Browse the repository at this point in the history
We didn't end up adding either Launchpad or Kaocha, so we might as well leave
bb.edn unchanged.
  • Loading branch information
teodorlu committed Jan 3, 2025
1 parent 042f58f commit c7664c7
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,27 @@
:bbin/bin {bbin {:main-opts ["-f" "bbin"]}}
:tasks {bbin {:requires ([babashka.bbin.cli :as bbin])
:task (apply bbin/-main *command-line-args*)}
dev {:doc "Starts watcher to auto-build bbin script"
:requires ([babashka.bbin.dev :as dev])
:task (dev/dev)}
ci {:doc "Run all CI tasks locally"
:requires ([taoensso.timbre :as log])
:task (do
(log/info "bb run lint")
(run 'lint)
(log/info "bb run test")
(run 'test))}
dev {:doc "Starts watcher to auto-build bbin script"
:requires ([babashka.bbin.dev :as dev])
:task (dev/dev)}
lint (shell "clj-kondo --lint .")
test {:depends [gen-script]
:extra-deps {io.github.cognitect-labs/test-runner
{:git/tag "v0.5.1" :git/sha "dfb30dd"}
ring/ring-core {:mvn/version "1.12.1"}}
:task cognitect.test-runner/-main}
gen-script {:doc "Build the bbin script"
:extra-deps {org.clojure/tools.namespace
{:mvn/version "1.5.0"}}
:requires ([babashka.bbin.gen-script :as gen-script])
:task (gen-script/gen-script)}
lint (shell "clj-kondo --lint .")
render-templates {:requires ([clojure.string :as str]
[clojure.edn :as edn]
[selmer.parser :as p]
Expand All @@ -36,10 +41,4 @@
(without-escaping
(->> (p/render (slurp "templates/README.template.md")
{:version version})
(spit "README.md"))))}
test {:depends [gen-script]
:extra-deps {io.github.cognitect-labs/test-runner
{:git/tag "v0.5.1" :git/sha "dfb30dd"}
ring/ring-core {:mvn/version "1.12.1"}}
:task cognitect.test-runner/-main}
,}}
(spit "README.md"))))}}}

0 comments on commit c7664c7

Please sign in to comment.