This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-13
Channels
- # announcements (18)
- # babashka (52)
- # beginners (47)
- # calva (45)
- # clj-kondo (31)
- # clojure (18)
- # clojure-brasil (2)
- # clojure-europe (3)
- # clojure-sweden (25)
- # clojurescript (19)
- # cursive (15)
- # datalevin (11)
- # defnpodcast (2)
- # duct (1)
- # editors (1)
- # emacs (6)
- # gratitude (1)
- # introduce-yourself (6)
- # jobs-discuss (11)
- # leiningen (3)
- # lsp (10)
- # luminus (2)
- # off-topic (4)
- # podcasts (2)
- # reitit (2)
- # shadow-cljs (10)
- # sql (9)
- # xtdb (4)
How to install previous version of babashka? (via brew)
brew install borkdude/brew/babashka
I need make some experiments
@mike1452 I would consult the homebrew docs for this, but if homebrew does not support it, you can just grab a macos binary from github releases.
thank you
i guess in general we need to publish borkdude/brew/[email protected] versions for older versions to support this, dont theres any brew support for it by default
@rahul080327 I've been doing that for neil
but not for babashka itself. could start doing it, but nobody asked for it before :)
yeah ive been trying it out via https://asdf-vm.com/ on the work machine, along with other tool versions on it
asdf seems to be a sane way of managing lots of versions of things
@borkdude what have been changed since version 0.7.2? My template https://github.com/redstarssystems/apptemplate works fine on 0.7.2, but starting from 0.7.3+ it has problems. Here is the errors:
----- Error --------------------------------------------------------------------
Type: clojure.lang.ExceptionInfo
Message: Could not resolve symbol: build.tasks/install
Location: <expr>:26:22
Phase: analysis
----- Context ------------------------------------------------------------------
22: (def install (binding [
23: babashka.tasks/*task* '{:name install, :enter (build.init/enter current-task), :leave (build.init/leave current-task), :task build.tasks/install}]
24: (build.init/enter current-task)
25:
26: (let [install (apply build.tasks/install *command-line-args*)]
^--- Could not resolve symbol: build.tasks/install
27: (build.init/leave current-task)
28: install))) install
All changes are in a changelog so if you want to know what changed, read the changelogs, that's what they are for
I just downloaded 0.7.2 and everything works fine
But 0.7.3+ look like this
can’t catch where is the error in build task?
To install template I used the following command from docs
clojure -Sdeps '{:deps {org.rssys/apptemplate {:git/tag "0.1.0" :git/sha "9e5d0e2" :git/url ""}}}' -Tnew create :template org.rssys/apptemplate :name com.example/app01
[email protected] /tmp/app01 $ bb tasks
The following tasks are available:
clean Clean target folder
build Build standalone executable uberjar file
run Run application (-main function)
install Install this app
deploy Deploy this app
test Run project tests
repl Run Clojure repl
outdated Check for outdated dependencies
outdated:fix Check for outdated dependencies and fix
format Format source code
lint Lint source code
javac Compile java sources
standalone Create a standalone application with bundled JDK (using jlink, JDK 9+)
requirements Install project requirements
I tried with 0.7.2, 0.7.3, 0.7.4 and 0.7.5-SNAPSHOT:
bash <(curl ) --version 0.7.2 --dir .
./bb tasks
Everything's workingMay be I have problems locally
I will check
thank you
I just reinstalled babashka and error is still here
The mystic. 😃
nothing changed except bb version
this is exact the same code
didn’t catch where I should remove trailing slashes?
can't reproduce with 0.7.3:
[email protected] ~/Downloads/app03 $ ./bb --version
babashka v0.7.3
[email protected] ~/Downloads/app03 $ ./bb tasks
The following tasks are available:
clean Clean target folder
build Build standalone executable uberjar file
run Run application (-main function)
install Install this app
deploy Deploy this app
test Run project tests
repl Run Clojure repl
outdated Check for outdated dependencies
outdated:fix Check for outdated dependencies and fix
Solved! The problem was with trailing slashes!!! Thank you
But, why the error is not reproduced in your env? I use macbook
I have i9 too. Ok. Thank you.