-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi!
I'm following the README instructions for installing a development version of bbin, and hitting errors. Suggestions?
$ pwd
/Users/teodorlu/repo/babashka/bbin
$ # in bbin repo
$ cat README.md | grep -A 5 "development version"
-To install a development version of bbin, first install bbin stable, then install bbin with bbin.
```
$ bbin install . --as bbin-dev --main-opts '["-m" babashka.bbin.cli/-main]'
```
$ bbin install . --as bbin-dev --main-opts '["-m" babashka.bbin.cli/-main]'
Starting install...
bin location
──────── ─────────────────────────────────────────
bbin-dev file:///Users/teodorlu/repo/babashka/bbin
Install complete.
$ bbin-dev --version
----- Error --------------------------------------------------------------------
Type: clojure.lang.ExceptionInfo
Message: Unable to resolve symbol: babashka.bbin.cli/-main
Data: {:type :sci/error, :line 14, :column 1, :file "/Users/teodorlu/.local/bin/bbin-dev", :phase "analysis"}
Location: /Users/teodorlu/.local/bin/bbin-dev:14:1
Phase: analysis
----- Context ------------------------------------------------------------------
10: '[babashka.fs :as fs]
11: '[clojure.string :as str])
12:
13: (def script-root "/Users/teodorlu/repo/babashka/bbin")
14: (def script-main-opts ["-m" babashka.bbin.cli/-main])
^--- Unable to resolve symbol: babashka.bbin.cli/-main
15:
16: (def tmp-edn
17: (doto (fs/file (fs/temp-dir) (str (gensym "bbin")))
18: (spit (str "{:deps {local/deps {:local/root " (pr-str script-root) "}}}"))
19: (fs/delete-on-exit)))
----- Stack trace --------------------------------------------------------------
user - /Users/teodorlu/.local/bin/bbin-dev:14:1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels