Permalink
Browse files

1.0.2

  • Loading branch information...
1 parent 66020a2 commit 10fec71e41441e6256f63ba03c8facce08a125dc @cemerick cemerick committed Jan 30, 2014
Showing with 32 additions and 32 deletions.
  1. +18 −18 README.md
  2. +1 −1 doc/CROSSOVERS.md
  3. +2 −2 doc/REPL.md
  4. +4 −4 doc/TESTING.md
  5. +2 −2 example-projects/advanced/project.clj
  6. +2 −2 example-projects/simple/project.clj
  7. +2 −2 plugin/project.clj
  8. +1 −1 support/project.clj
View
@@ -7,16 +7,16 @@ 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.0.2-SNAPSHOT/doc/REPL.md)
-* [Launching ClojureScript tests] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2-SNAPSHOT/doc/TESTING.md)
+* [Launching REPLs for interactive development] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/doc/REPL.md)
+* [Launching ClojureScript tests] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/doc/TESTING.md)
* Sharing code between Clojure and ClojureScript: use
[cljx](http://github.com/lynaghk/cljx) to target both Clojure and
ClojureScript from the same codebase. ([cljsbuild
- crossovers](https://github.com/emezeske/lein-cljsbuild/blob/1.0.2-SNAPSHOT/doc/CROSSOVERS.md)
+ crossovers](https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/doc/CROSSOVERS.md)
are _deprecated_, and will be removed in v2.x [coming later in 2014].)
-The latest version of lein-cljsbuild is `1.0.2-SNAPSHOT`.
-[See the release notes here.](https://github.com/emezeske/lein-cljsbuild/blob/1.0.2-SNAPSHOT/doc/RELEASE-NOTES.md)
+The latest version of lein-cljsbuild is `1.0.2`.
+[See the release notes here.](https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/doc/RELEASE-NOTES.md)
## Requirements
@@ -31,7 +31,7 @@ file in the `:plugins` section:
```clj
(defproject lein-cljsbuild-example "1.2.3"
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]])
+ :plugins [[lein-cljsbuild "1.0.2"]])
```
In addition, _you should add an explicit ClojureScript dependency to your
@@ -48,15 +48,15 @@ can use lein-cljsbuild with any ClojureScript version.
## Just Give Me a Damned Example Already!
See the
-[example-projects] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2-SNAPSHOT/example-projects)
+[example-projects] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/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.0.2-SNAPSHOT/example-projects/simple)
+[simple project] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/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.0.2-SNAPSHOT/example-projects/advanced)
+[advanced project] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/example-projects/advanced)
contains examples of how to use the extended features of the plugin.
Also, see the
-[sample.project.clj] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2-SNAPSHOT/sample.project.clj)
+[sample.project.clj] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/sample.project.clj)
file for an exhaustive list of all options supported by lein-cljsbuild.
## Basic Configuration
@@ -66,7 +66,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.0.2-SNAPSHOT"]]
+ :plugins [[lein-cljsbuild "1.0.2"]]
:cljsbuild {
:builds [{
; The path to the top-level ClojureScript source directory:
@@ -80,7 +80,7 @@ of your `project.clj` file. A simple project might look like this:
```
For an exhaustive list of the configuration options supported by lein-cljsbuild, see the
-[sample.project.clj] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2-SNAPSHOT/sample.project.clj)
+[sample.project.clj] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/sample.project.clj)
file.
## Basic Usage
@@ -138,7 +138,7 @@ and will build all of them in parallel:
```clj
(defproject lein-cljsbuild-example "1.2.3"
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]]
+ :plugins [[lein-cljsbuild "1.0.2"]]
:cljsbuild {
:builds [
{:source-paths ["src-cljs-main"]
@@ -156,7 +156,7 @@ only that one:
```clj
(defproject lein-cljsbuild-example "1.2.3"
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]]
+ :plugins [[lein-cljsbuild "1.0.2"]]
:cljsbuild {
:builds [
{:source-paths ["src-cljs-main"]
@@ -173,7 +173,7 @@ them as a map instead of a vector:
```clj
(defproject lein-cljsbuild-example "1.2.3"
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]]
+ :plugins [[lein-cljsbuild "1.0.2"]]
:cljsbuild {
:builds {
:main
@@ -189,20 +189,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.0.2-SNAPSHOT/example-projects/advanced)
+[example-projects/advanced] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/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.0.2-SNAPSHOT/doc/REPL.md)
+[REPL documentation] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/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.0.2-SNAPSHOT/doc/TESTING.md)
+[testing documentation] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/doc/TESTING.md)
for more details.
## ClojureScript Version
View
@@ -39,7 +39,7 @@ And your `project.clj` file looks like this:
```clj
(defproject lein-cljsbuild-example "1.2.3"
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]]
+ :plugins [[lein-cljsbuild "1.0.2"]]
:source-paths ["src-clj"]
:cljsbuild {
; Each entry in the :crossovers vector describes a Clojure namespace
View
@@ -60,7 +60,7 @@ between them. To configure a launch preset, add an entry to the `:repl-launch-c
```clj
(defproject lein-cljsbuild-example "1.2.3"
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]]
+ :plugins [[lein-cljsbuild "1.0.2"]]
: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.0.2-SNAPSHOT/example-projects/advanced)
+[advanced example project] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/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)
View
@@ -7,7 +7,7 @@ test:
```clj
(defproject lein-cljsbuild-example "1.2.3"
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]]
+ :plugins [[lein-cljsbuild "1.0.2"]]
:cljsbuild {
:test-commands
{"my-test" ["phantomjs" "phantom/unit-test.js" "..."]})
@@ -38,18 +38,18 @@ browser to do, except it does not have a GUI. PhantomJS can be automated via Ja
and thus is convenient to use for running automated tests.
The
-[advanced example project] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2-SNAPSHOT/example-projects/advanced)
+[advanced example project] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/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:
1. A `:builds` entry dedicated to the test code in the `test-cljs` directory. This compiles
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.0.2-SNAPSHOT/example-projects/advanced/resources/private/html/unit-test.html)
+[static HTML page] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/example-projects/advanced/resources/private/html/unit-test.html)
with a `<script>` tag that will pull in the compiled unit test code when the page is loaded.
3. A `:test-commands` entry that runs PhantomJS, passing it
-[a simple script] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2-SNAPSHOT/example-projects/advanced/phantom/unit-test.js)
+[a simple script] (https://github.com/emezeske/lein-cljsbuild/blob/1.0.2/example-projects/advanced/phantom/unit-test.js)
. This script directs PhantomJS to load the static HTML page, and once it's loaded,
to call the ClojureScript unit test entry point.
@@ -1,12 +1,12 @@
-(defproject cljsbuild-example-advanced "1.0.2-SNAPSHOT"
+(defproject cljsbuild-example-advanced "1.0.2"
:description "An advanced example of how to use lein-cljsbuild"
:source-paths ["src-clj"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2014"
:exclusions [org.apache.ant/ant]]
[compojure "1.1.6"]
[hiccup "1.0.4"]]
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]
+ :plugins [[lein-cljsbuild "1.0.2"]
[lein-ring "0.8.7"]]
; Enable the lein hooks for: clean, compile, test, and jar.
:hooks [leiningen.cljsbuild]
@@ -1,12 +1,12 @@
-(defproject cljsbuild-example-simple "1.0.2-SNAPSHOT"
+(defproject cljsbuild-example-simple "1.0.2"
:description "A simple example of how to use lein-cljsbuild"
:source-paths ["src-clj"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2014"
:exclusions [org.apache.ant/ant]]
[compojure "1.1.6"]
[hiccup "1.0.4"]]
- :plugins [[lein-cljsbuild "1.0.2-SNAPSHOT"]
+ :plugins [[lein-cljsbuild "1.0.2"]
[lein-ring "0.8.7"]]
:cljsbuild {
:builds [{:source-paths ["src-cljs"]
View
@@ -1,4 +1,4 @@
-(defproject lein-cljsbuild "1.0.2-SNAPSHOT"
+(defproject lein-cljsbuild "1.0.2"
:description "ClojureScript Autobuilder Plugin"
:url "http://github.com/emezeske/lein-cljsbuild"
:license
@@ -12,6 +12,6 @@
:dev {
:dependencies [
[midje "1.5.1"]
- [cljsbuild "1.0.2-SNAPSHOT"]]
+ [cljsbuild "1.0.2"]]
:plugins [[lein-midje "2.0.4"]]}}
:eval-in-leiningen true)
View
@@ -1,4 +1,4 @@
-(defproject cljsbuild "1.0.2-SNAPSHOT"
+(defproject cljsbuild "1.0.2"
:description "ClojureScript Autobuilder"
:url "http://github.com/emezeske/lein-cljsbuild"
:license

0 comments on commit 10fec71

Please sign in to comment.