diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..695897af --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,20 @@ +version: 2 +jobs: + build: + working_directory: ~/leiningen + docker: + - image: clojure:lein-2.7.1 + steps: + - checkout + - restore_cache: + key: << checksum "project.clj" >> + - run: + working_directory: ~/leiningen/leiningen-core + command: lein bootstrap + - run: bin/lein test + - save_cache: + paths: + - $HOME/.m2 + - $HOME/.lein + key: << checksum "project.clj" >> + diff --git a/.gitignore b/.gitignore index c37874e3..cd50f3e5 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ TAGS test_projects/*/target pom.xml +deps.txt diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4049c9f0..76de4ce3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -57,10 +57,7 @@ tasks. Assuming you are in Leiningen's project root, you can do that like this: ```bash $ cd leiningen-core -$ lein bootstrap -$ cd .. -$ bin/lein compile -## or the bat file on Windows. +$ lein bootstrap # or lein.bat on Windows. ``` The `lein` command is a stable release of Leiningen on your `$PATH` – preferably