Update README.md

This commit is contained in:
Michiel Borkent 2019-12-28 23:06:48 +01:00 committed by GitHub
parent e8606359b1
commit 0f5a399160
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)