All Projects → clojure → clojure-install

clojure / clojure-install

Licence: other
No description, website, or topics provided.

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

clojure-install

DEPRECATED - this project is no longer active. See https://github.com/clojure/brew-install.


The Clojure install project is used to bootstrap a system to include Clojure, tools.deps.alpha, and the scripts necessary to use them to obtain more dependencies and run a Clojure repl or programs.

The installer assumes only that Java is available. The install tool is written in Java and uses the necessary Maven Aether libraries to traverse and download the initial dependency set.

In general, this project will be obtained and used within system installers rather than used directly.

Release Information

Latest release: 0.1.21

Leiningen dependency information:

[org.clojure/clojure-install "0.1.21"]

Maven dependency information:

<dependency>
  <groupId>org.clojure</groupId>
  <artifactId>clojure-install</artifactId>
  <version>0.1.21</version>
</dependency>

Usage

clojure.tools.Install

The Install program performs the following steps:

  • Given a Clojure config directory
  • Read CONFIG/clj.props
  • Use those props to form a dependency set
  • Download those dependencies and all transitive dependencies to the local Maven repository
  • If CONFIG/clj.cp or CONFIG/deps.edn exist, copy them to backup files
  • Create CONFIG/clj.cp - used when invoking tools.deps.alpha
  • Create CONFIG/deps.edn - user-level deps map, for declaring default deps and artifact providers

This can be re-run to pick up manual changes in clj.props.

clj.props file

Example props file:

org.clojure/clojure=1.9.0-alpha17
org.clojure/tools.deps.alpha=0.1.14
org.clojure/spec.alpha=0.1.123

Developer Information

License

Copyright © 2017 Rich Hickey and contributors

Distributed under the Eclipse Public License, the same as Clojure.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].