Lein Clojure 1.3 vs Clojure 1.2.1

前端 未结 1 1482
深忆病人
深忆病人 2021-01-25 05:01

I admit this question is a bit poorly phrased. Please let me know what commands I should run to provide more information, and I will provide it.

Context: I have been usi

相关标签:
1条回答
  • 2021-01-25 05:21

    The project.clj file lists the dependencies for your lein project, including the version of clojure. So simply put [org.clojure/clojure "1.3.0"] in the dependency vector instead of [org.clojure/clojure "1.2.1"]. Here's a barebones example:

    (defproject myproject "0.5.0-SNAPSHOT"
      :description "A project for doing things."
      :url "http://github.com/technomancy/myproject"
      :dependencies [[org.clojure/clojure "1.3.0"]])
    

    Their is a more detailed and annotated example on Leiningen's github

    0 讨论(0)
提交回复
热议问题