Update README.md
This commit is contained in:
parent
e8606359b1
commit
0f5a399160
1 changed files with 2 additions and 2 deletions
|
|
@ -433,7 +433,7 @@ Using the [deps.clj](https://github.com/borkdude/deps.clj/) script, you can also
|
||||||
pass the classpath and main opts to `bb`:
|
pass the classpath and main opts to `bb`:
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
$ deps.clj -A:my-script -Scommand "bb my_script.clj {{main-opts}}"
|
$ deps.clj -A:my-script -Scommand "bb -cp {{classpath}} {{main-opts}}"
|
||||||
Hello from gist script!
|
Hello from gist script!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -447,7 +447,7 @@ convenient for debugging purposes and deployment.
|
||||||
Given the `deps.edn` from above:
|
Given the `deps.edn` from above:
|
||||||
|
|
||||||
``` clojure
|
``` clojure
|
||||||
$ deps.clj -A:my-script -Scommand "bb {{main-opts}} --uberscript my-script.clj"
|
$ deps.clj -A:my-script -Scommand "bb -cp {{classpath}} {{main-opts}} --uberscript my-script.clj"
|
||||||
|
|
||||||
$ cat my-script.clj
|
$ cat my-script.clj
|
||||||
(ns my-gist-script)
|
(ns my-gist-script)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue