From fc81998b2c3954fbe106f775c489bd5bb472badc Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Fri, 2 Oct 2015 11:40:04 -0700 Subject: [PATCH] Fix #8 by updating to 3.23.288-gaa3af0c --- README.md | 4 ++-- example/project.clj | 4 ++-- hello/README.md | 2 +- hello/project.clj | 4 ++-- project.clj | 2 +- src/leiningen/fregec.clj | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 79d5c15..594affd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A Leiningen plugin to compile Frege (http://www.frege-lang.org) code. Usage ----- -Add `[lein-fregec "3.22.524"]` to `:plugins` in your `project.clj`. The version of `lein-fregec` matches the version of the Frege compiler it is compatible with and uses. +Add `[lein-fregec "3.23.288"]` to `:plugins` in your `project.clj`. The version of `lein-fregec` matches the version of the Frege compiler it is compatible with and uses. Set `:frege-source-paths` to the location(s) of your Frege source files. Default is the current directory but I highly recommend using `src/frege` and structuring your projects that way (although the `hello` example relies on current directory). @@ -40,7 +40,7 @@ This tells Leiningen to run the `fregec` task and the `compile` task before buil Also, in order to include the Frege runtime in the resulting JAR file, you will need the following dependency in your `project.clj` file: ```clojure -:dependencies [[org.frege-lang/frege "3.22.526-gcc99d7e"]] +:dependencies [[org.frege-lang/frege "3.23.288-gaa3af0c"]] ``` The version here should exactly match that displayed by `lein-fregec` when you use the `DEBUG=true` environment variable! diff --git a/example/project.clj b/example/project.clj index d45ab8c..a824c71 100644 --- a/example/project.clj +++ b/example/project.clj @@ -5,8 +5,8 @@ :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] ;; need to depend on Frege for runtime: - [org.frege-lang/frege "3.22.524-gcc99d7e"]] - :plugins [[lein-fregec "3.22.524"]] + [org.frege-lang/frege "3.23.288-gaa3af0c"]] + :plugins [[lein-fregec "3.23.288"]] :frege-source-paths ["src/frege"] :main example.core :profiles {:uberjar {:aot :all diff --git a/hello/README.md b/hello/README.md index ea1cf30..4a58f99 100644 --- a/hello/README.md +++ b/hello/README.md @@ -22,7 +22,7 @@ Run the application: Note that you can also run the application without creating a JAR file after `lein fregec` if you specify the classpath that includes the Frege runtime: - java -cp ~/.m2/repository/org/frege-lang/frege/3.22.524-gcc99d7e/frege-3.22.524-gcc99d7e.jar:target/classes Hello + java -cp ~/.m2/repository/org/frege-lang/frege/3.23.288-gaa3af0c/frege-3.23.288-gaa3af0c.jar:target/classes Hello A simpler, but slower way to achieve that is to rely on Leiningen to retrieve the necessary classpath: diff --git a/hello/project.clj b/hello/project.clj index 58f9787..e3fe315 100644 --- a/hello/project.clj +++ b/hello/project.clj @@ -4,6 +4,6 @@ :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [;; need to depend on Frege for uberjar: - [org.frege-lang/frege "3.22.524-gcc99d7e"]] - :plugins [[lein-fregec "3.22.524"]] + [org.frege-lang/frege "3.23.288-gaa3af0c"]] + :plugins [[lein-fregec "3.23.288"]] :profiles {:uberjar {:prep-tasks ["fregec"]}}) diff --git a/project.clj b/project.clj index b139a99..8408066 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject lein-fregec "3.22.524" +(defproject lein-fregec "3.23.288" :description "Leiningen plugin to compile Frege source code" :url "https://github.com/Frege/frege-lein-plugin" :license {:name "Eclipse Public License" diff --git a/src/leiningen/fregec.clj b/src/leiningen/fregec.clj index 4169b76..ac4e9ab 100644 --- a/src/leiningen/fregec.clj +++ b/src/leiningen/fregec.clj @@ -9,7 +9,7 @@ (:import java.io.File (java.nio.file Files Paths))) -(def ^:private fregec-version "3.22.524-gcc99d7e") +(def ^:private fregec-version "3.23.288-gaa3af0c") (defn- stale-frege-sources "Returns a lazy seq of file paths: every Frege source file within dirs modified