update README.md

This commit is contained in:
Gered 2014-12-28 18:25:51 -05:00
parent 2300f23dc5
commit b8a12c11fe

View file

@ -68,22 +68,14 @@ builds so a simple `lein run` is probably sufficient to replace what `lein ring
## ClojureScript
ClojureScript code can be compiled as per normal using `lein cljsbuild` commands. Some of the more useful commands:
```
$ lein cljsbuild clean
$ lein cljsbuild auto
$ lein cljsbuild once release
```
A Leiningen alias is available which is helpful during development:
```
$ lein mkcljs
$ lein cljsdev
```
It performs a `cljsbuild clean`, `once` and `auto`.
Generated web applications are set up with support for a ClojureScript REPL using [weasel](https://github.com/tomjakubowski/weasel).
Note that the `project.clj` uses a specific version of ClojureScript and weasel to ensure this configuration works.