Skip to content

Commit

Permalink
boot-cljs 0.0-2411-3 -- unified mode is back!
Browse files Browse the repository at this point in the history
  • Loading branch information
alandipert committed Dec 16, 2014
1 parent fe7faa2 commit fee6e49
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -5,4 +5,4 @@ install:
- wget -O boot https://github.com/boot-clj/boot/releases/download/v2-r1/boot.sh
- chmod 755 boot
- ./boot -V
script: ./boot serve -d target/ reload cljs-repl cljs -sO none
script: ./boot serve -d target/ reload cljs-repl cljs -usO none
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -19,7 +19,7 @@ pre-alpha software at the moment, you should do this frequently.
In a terminal do:

```bash
boot serve -d target/ watch speak reload cljs-repl cljs -sO none
boot serve -d target/ watch speak reload cljs-repl cljs -usO none
```

This builds a pipeline for your project:
Expand All @@ -39,6 +39,7 @@ This builds a pipeline for your project:
reloaded when they change.

* **`cljs`** Compiles ClojureScript namespaces to JavaScript.
* **`-u`** Operate in "unified mode" - automate script inclusion
* **`-s`** Create source maps for compiled JavaScript files.
* **`-O none`** Use optimizations `none` (no [GClosure][gclosure] compiler pass).

Expand Down Expand Up @@ -80,7 +81,7 @@ Then, you can start a CLJS REPL:
boot.user=> (start-repl)
```

The page will automatically reload and connect to the CLJS REPL websocket.
Reload the page in your browser. Your REPL is now connected to the page.

## License

Expand Down
4 changes: 2 additions & 2 deletions build.boot
@@ -1,10 +1,10 @@
(set-env!
:source-paths #{"src"}
:resource-paths #{"html"}
:dependencies '[[adzerk/boot-cljs "0.0-2411-2" :scope "test"]
:dependencies '[[adzerk/boot-cljs "0.0-2411-3" :scope "test"]
[adzerk/boot-cljs-repl "0.1.7" :scope "test"]
[adzerk/boot-reload "0.2.0" :scope "test"]
[alandipert/boot-http "0.3.0" :scope "test"]])
[pandeiro/boot-http "0.3.0" :scope "test"]])

(require
'[adzerk.boot-cljs :refer [cljs]]
Expand Down
6 changes: 0 additions & 6 deletions html/index.html
Expand Up @@ -8,12 +8,6 @@
<h1>hi, world!</h1>
<img src="img/face.jpg">
<div id="container" class="blue-border"/>
<script type="text/javascript" src="out/goog/base.js"></script>
<script type="text/javascript" src="main.js"></script>
<script type="text/javascript">
goog.require("adzerk.boot_reload");
goog.require("adzerk.boot_cljs_repl");
goog.require("app");
</script>
</body>
</html>

0 comments on commit fee6e49

Please sign in to comment.