How to get Clojure working (works on Apple M1 also): Install Leiningen:
cd ~/bin curl -O https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein chmod +x lein
Make sure your ~/bin directory is in your $PATH.
~/bin
$PATH
Create a test project and run tests:
conda create -n clj openjdk conda activate clj lein new test1 cd test1 lein test
The last command should print:
$ lein test lein test test1.core-test lein test :only test1.core-test/a-test FAIL in (a-test) (core_test.clj:7) FIXME, I fail. expected: (= 0 1) actual: (not (= 0 1)) Ran 1 tests containing 1 assertions. 1 failures, 0 errors. Tests failed.
There was an error while loading. Please reload this page.