From 0f5a399160d0f073ddd129ba896af482f64e8af1 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 28 Dec 2019 23:06:48 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 08d8d68e..20eb2bb7 100644 --- a/README.md +++ b/README.md @@ -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`: ``` 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! ``` @@ -447,7 +447,7 @@ convenient for debugging purposes and deployment. Given the `deps.edn` from above: ``` 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 (ns my-gist-script)