From 5f5263ea2f6d07245fa19cba3679bb9fd890d909 Mon Sep 17 00:00:00 2001 From: Maria Geller Date: Sun, 5 Apr 2020 05:56:01 +0200 Subject: [PATCH] 1.1.8 --- README.md | 32 +++++++++++++-------------- doc/CROSSOVERS.md | 2 +- doc/RELEASE-NOTES.md | 5 +++++ doc/REPL.md | 4 ++-- doc/TESTING.md | 8 +++---- example-projects/advanced/project.clj | 4 ++-- example-projects/none/project.clj | 2 +- example-projects/simple/project.clj | 4 ++-- plugin/project.clj | 4 ++-- support/project.clj | 2 +- 10 files changed, 36 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 1f3722b5..71569b3a 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,11 @@ to install and allows you to configure the ClojureScript compiler from within yo Beyond basic compiler support, lein-cljsbuild can optionally help with a few other things: -* [Launching REPLs for interactive development](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/doc/REPL.md) -* [Launching ClojureScript tests](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/doc/TESTING.md) +* [Launching REPLs for interactive development](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/doc/REPL.md) +* [Launching ClojureScript tests](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/doc/TESTING.md) -The latest version of lein-cljsbuild is `1.1.8-SNAPSHOT`. -[See the release notes here.](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/doc/RELEASE-NOTES.md) +The latest version of lein-cljsbuild is `1.1.8`. +[See the release notes here.](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/doc/RELEASE-NOTES.md) *Note that cljsbuild crossovers are deprecated, and will be removed eventually. You should never use them. Please use either [reader conditionals](http://dev.clojure.org/display/design/Reader+Conditionals) @@ -36,7 +36,7 @@ file in the `:plugins` section: ```clj (defproject lein-cljsbuild-example "1.2.3" - :plugins [[lein-cljsbuild "1.1.8-SNAPSHOT"]]) + :plugins [[lein-cljsbuild "1.1.8"]]) ``` In addition, _you should add an explicit ClojureScript dependency to your @@ -54,15 +54,15 @@ version of lein-cljsbuild currently requires a minimum of ClojureScript ## Just Give Me a Damned Example Already! See the -[example-projects](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/example-projects) +[example-projects](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/example-projects) directory for a couple of simple examples of how to use lein-cljsbuild. The -[simple project](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/example-projects/simple) +[simple project](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/example-projects/simple) shows a dead-simple "compile only" configuration, which is a good place to start. The -[advanced project](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/example-projects/advanced) +[advanced project](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/example-projects/advanced) contains examples of how to use the extended features of the plugin. For an exhaustive list of all options supported by lein-cljsbuild, see the -[sample.project.clj](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/sample.project.clj) +[sample.project.clj](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/sample.project.clj) file. For a list of options that can be passed to the ClojureScript compiler have a look at the [ClojureScript Compiler Options site](https://clojurescript.org/reference/compiler-options). @@ -73,7 +73,7 @@ of your `project.clj` file. A simple project might look like this: ```clj (defproject lein-cljsbuild-example "1.2.3" - :plugins [[lein-cljsbuild "1.1.8-SNAPSHOT"]] + :plugins [[lein-cljsbuild "1.1.8"]] :cljsbuild { :builds [{ ; The path to the top-level ClojureScript source directory: @@ -159,7 +159,7 @@ and will build all of them in parallel: ```clj (defproject lein-cljsbuild-example "1.2.3" - :plugins [[lein-cljsbuild "1.1.8-SNAPSHOT"]] + :plugins [[lein-cljsbuild "1.1.8"]] :cljsbuild { :builds [ {:source-paths ["src-cljs-main"] @@ -177,7 +177,7 @@ only that one: ```clj (defproject lein-cljsbuild-example "1.2.3" - :plugins [[lein-cljsbuild "1.1.8-SNAPSHOT"]] + :plugins [[lein-cljsbuild "1.1.8"]] :cljsbuild { :builds [ {:source-paths ["src-cljs-main"] @@ -194,7 +194,7 @@ them as a map instead of a vector: ```clj (defproject lein-cljsbuild-example "1.2.3" - :plugins [[lein-cljsbuild "1.1.8-SNAPSHOT"]] + :plugins [[lein-cljsbuild "1.1.8"]] :cljsbuild { :builds { :main @@ -210,20 +210,20 @@ You can also build multiple configurations at once: $ lein cljsbuild auto main other See the -[example-projects/advanced](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/example-projects/advanced) +[example-projects/advanced](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/example-projects/advanced) directory for a working example of a project that uses this feature. ## REPL Support Lein-cljsbuild has built-in support for launching ClojureScript REPLs in a variety of ways. See the -[REPL documentation](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/doc/REPL.md) +[REPL documentation](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/doc/REPL.md) for more details. ## Testing Support Lein-cljsbuild has built-in support for running external ClojureScript test processes. See the -[testing documentation](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/doc/TESTING.md) +[testing documentation](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/doc/TESTING.md) for more details. ## Extended Configuration diff --git a/doc/CROSSOVERS.md b/doc/CROSSOVERS.md index 06db23bf..a0dad789 100644 --- a/doc/CROSSOVERS.md +++ b/doc/CROSSOVERS.md @@ -59,7 +59,7 @@ And your `project.clj` file looks like this: ```clj (defproject lein-cljsbuild-example "1.2.3" - :plugins [[lein-cljsbuild "1.1.8-SNAPSHOT"]] + :plugins [[lein-cljsbuild "1.1.8"]] :source-paths ["src-clj"] :cljsbuild { ; Each entry in the :crossovers vector describes a Clojure namespace diff --git a/doc/RELEASE-NOTES.md b/doc/RELEASE-NOTES.md index b52eed8b..fd1b7eee 100644 --- a/doc/RELEASE-NOTES.md +++ b/doc/RELEASE-NOTES.md @@ -1,5 +1,10 @@ # Release Notes for lein-cljsbuild +## [1.1.8](https://github.com/emezeske/lein-cljsbuild/pulls?utf8=%E2%9C%93&q=is%3Aclosed+is%3Apr+milestone%3A1.1.8) + +* Improved checkout handling when cljsbuild entry is missing [#473](https://github.com/emezeske/lein-cljsbuild/pull/473) +* Add `lein cljsbuild deps` task to install cljsbuild deps to local Maven repo [#497](https://github.com/emezeske/lein-cljsbuild/pull/497) + ## [1.1.7](https://github.com/emezeske/lein-cljsbuild/pulls?utf8=%E2%9C%93&q=is%3Aclosed+is%3Apr+milestone%3A1.1.7) * When no output-dir given use relative target-path instead of absolute target-path. A relative target path is required when building for nodejs [#464](https://github.com/emezeske/lein-cljsbuild/issues/464). diff --git a/doc/REPL.md b/doc/REPL.md index c1163fc4..eccd4803 100644 --- a/doc/REPL.md +++ b/doc/REPL.md @@ -60,7 +60,7 @@ between them. To configure a launch preset, add an entry to the `:repl-launch-co ```clj (defproject lein-cljsbuild-example "1.2.3" - :plugins [[lein-cljsbuild "1.1.8-SNAPSHOT"]] + :plugins [[lein-cljsbuild "1.1.8"]] :cljsbuild { :repl-listen-port 9000 :repl-launch-commands @@ -99,7 +99,7 @@ treated as an option map. Currently, the only supported options are ``` For more ideas on how to use `repl-launch`, take a look at the -[advanced example project](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/example-projects/advanced) +[advanced example project](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/example-projects/advanced) It has several examples of useful launch commands, with descriptions in its README. Note that, in particular, the possibilities with [PhantomJS](http://www.phantomjs.org) diff --git a/doc/TESTING.md b/doc/TESTING.md index a3cfc1c5..e8957520 100644 --- a/doc/TESTING.md +++ b/doc/TESTING.md @@ -7,7 +7,7 @@ test: ```clj (defproject lein-cljsbuild-example "1.2.3" - :plugins [[lein-cljsbuild "1.1.8-SNAPSHOT"]] + :plugins [[lein-cljsbuild "1.1.8"]] :cljsbuild { :test-commands {"my-test" ["phantomjs" "phantom/unit-test.js" "..."]}) @@ -37,7 +37,7 @@ JavaScript support. This means that it can do most anything you would expect a d browser to do, except it does not have a GUI. PhantomJS can be automated via JavaScript, and thus is convenient to use for running automated tests. -The [advanced example project](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/example-projects/advanced) +The [advanced example project](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/example-projects/advanced) contains an example of how to use PhantomJS for running ClojureScript tests. There are several components that come together to make this work: @@ -45,10 +45,10 @@ components that come together to make this work: the unit tests into JavaScript (so that it they can be run by PhantomJS). 2. A -[static HTML page](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8-SNAPSHOT/example-projects/advanced/resources/private/html/unit-test.html) +[static HTML page](https://github.com/emezeske/lein-cljsbuild/blob/1.1.8/example-projects/advanced/resources/private/html/unit-test.html) with a `