Install older version of lein

This commit is contained in:
Michiel Borkent 2020-02-29 13:24:16 +01:00
parent 8328a14183
commit 6e11b7c0bc
2 changed files with 5 additions and 4 deletions

View file

@ -5,7 +5,7 @@
version: 2.1
jobs:
jvm:
docker:
docker:
# specify the version you desire here
- image: circleci/clojure:lein-2.8.1
working_directory: ~/repo

View file

@ -1,6 +1,7 @@
#!/usr/bin/env bash
curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein > lein
cd /tmp
git clone https://github.com/technomancy/leiningen/tree/f3864bc35d8280a8461b7f6c593b1919a75bef7f
sudo mkdir -p /usr/local/bin/
sudo mv lein /usr/local/bin/lein
sudo chmod a+x /usr/local/bin/lein
cp leiningen/bin/lein /usr/local/bin
chmod a+x /usr/local/bin/lein