Skip to content

Commit

Permalink
Remove stale version
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Dec 4, 2023
1 parent 2bbda93 commit 6b2f85c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Check [breaking changes](CHANGELOG.md#breaking-changes) before upgrading!
Add to your `deps.edn` or `bb.edn` `:deps` entry:

``` clojure
org.babashka/cli {:mvn/version "0.4.39"}
org.babashka/cli {:mvn/version "<latest-version>"}
```

## Intro
Expand Down Expand Up @@ -512,7 +512,7 @@ writing extra boilerplate.
In your `deps.edn` `:aliases` entry, add:

``` clojure
:exec {:extra-deps {org.babashka/cli {:mvn/version "0.4.39"}}
:exec {:extra-deps {org.babashka/cli {:mvn/version "<latest-version>"}}
:main-opts ["-m" "babashka.cli.exec"]}
```

Expand Down Expand Up @@ -548,7 +548,7 @@ babashka CLI.
An example that specializes `babashka.cli` usage to a function:

``` clojure
:prn {:extra-deps {org.babashka/cli {:mvn/version "0.4.39"}}
:prn {:extra-deps {org.babashka/cli {:mvn/version "<latest-version>"}}
:main-opts ["-m" "babashka.cli.exec" "clojure.core" "prn"]}
```

Expand All @@ -560,7 +560,7 @@ $ clojure -M:prn --foo=bar --baz
You can also pre-define the exec function in `:exec-fn`:

``` clojure
:prn {:extra-deps {org.babashka/cli {:mvn/version "0.4.39"}}
:prn {:extra-deps {org.babashka/cli {:mvn/version "<latest-version>"}}
:exec-fn clojure.core/prn
:main-opts ["-m" "babashka.cli.exec"]}
```
Expand All @@ -569,7 +569,7 @@ To alter the parsing behavior of functions you don't control, you can add
`:org.babashka/cli` data in the `deps.edn` alias:

``` clojure
:prn {:deps {org.babashka/cli {:mvn/version "0.4.39"}}
:prn {:deps {org.babashka/cli {:mvn/version "<latest-version>"}}
:exec-fn clojure.core/prn
:main-opts ["-m" "babashka.cli.exec"]
:org.babashka/cli {:coerce {:foo :long}}}
Expand All @@ -585,7 +585,7 @@ $ clojure -M:prn --foo=1
`.clojure/deps.edn` alias:

``` clojure
:antq {:deps {org.babashka/cli {:mvn/version "0.4.39"}
:antq {:deps {org.babashka/cli {:mvn/version "<latest-version>"}
com.github.liquidz/antq {:mvn/version "1.7.798"}}
:paths []
:main-opts ["-m" "babashka.cli.exec" "antq.tool" "outdated"]
Expand Down Expand Up @@ -629,7 +629,7 @@ list your project as well!
In `deps.edn` create an alias:

``` clojure
:codox {:extra-deps {org.babashka/cli {:mvn/version "0.4.39"}
:codox {:extra-deps {org.babashka/cli {:mvn/version "<latest-version>"}
codox/codox {:mvn/version "0.10.8"}}
:exec-fn codox.main/generate-docs
;; default arguments:
Expand All @@ -653,7 +653,7 @@ $ clojure -M:codox --output-path /tmp/out
In `deps.edn` create an alias:

``` clojure
:kaocha {:extra-deps {org.babashka/cli {:mvn/version "0.4.39"}
:kaocha {:extra-deps {org.babashka/cli {:mvn/version "<latest-version>"}
lambdaisland/kaocha {:mvn/version "1.66.1034"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {} ;; insert default arguments here
Expand All @@ -677,7 +677,7 @@ $ clj -M:kaocha --watch --fail-fast --kaocha/reporter kaocha.report/documentatio
In `deps.edn` create an alias:

``` clojure
:build {:deps {org.babashka/cli {:mvn/version "0.4.39"}
:build {:deps {org.babashka/cli {:mvn/version "<latest-version>"}
io.github.clojure/tools.build {:git/tag "v0.8.2" :git/sha "ba1a2bf"}}
:paths ["."]
:ns-default build
Expand All @@ -695,7 +695,7 @@ clj -M:build jar --verbose
In `deps.edn` create an alias:

``` clojure
:graph {:deps {org.babashka/cli {:mvn/version "0.4.39"}
:graph {:deps {org.babashka/cli {:mvn/version "<latest-version>"}
org.clojure/tools.deps.graph {:mvn/version "1.1.68"}}
:exec-fn clojure.tools.deps.graph/graph
:exec-args {} ;; insert default arguments here
Expand All @@ -719,7 +719,7 @@ In `~/.lein/profiles.clj` put:

``` clojure
{:clj-1.11 {:dependencies [[org.clojure/clojure "1.11.1"]]}
:clj-new {:dependencies [[org.babashka/cli "0.4.39"]
:clj-new {:dependencies [[org.babashka/cli "<latest-version>"]
[com.github.seancorfield/clj-new "1.2.381"]]}
:user {:aliases {"clj-new" ["with-profiles" "+clj-1.11,+clj-new"
"run" "-m" "babashka.cli.exec"
Expand Down

0 comments on commit 6b2f85c

Please sign in to comment.