Skip to content
Permalink
Browse files

0.2.2 release

  • Loading branch information...
Bruce Hauman
Bruce Hauman committed Jul 18, 2019
1 parent 5f00a49 commit 564c3c3258e9d2781bd5ee114d40d3e6d12bef47
@@ -1,6 +1,6 @@
# Figwheel Main

[![Clojars Project](https://img.shields.io/clojars/v/com.bhauman/figwheel-main.svg)](https://clojars.org/com.bhauman/figwheel-main) [![Documentation](https://img.shields.io/badge/documentation-complete-green.svg)](http://figwheel.org/docs)
[![Clojars Project](https://img.shields.io/clojars/v/com.bhauman/figwheel-main.svg)](https://clojars.org/com.bhauman/figwheel-main) [![Documentation](https://img.shields.io/badge/documentation-incomplete-yellow.svg)](http://figwheel.org/docs)

Figwheel Main builds your ClojureScript code and hot loads it as you are coding!

@@ -200,7 +200,7 @@ On Mac OSX with brew:
Now launch a ClojureScript REPL with:
```
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.1\"}}}}" -m figwheel.main
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.2\"}}}}" -m figwheel.main
```
This will first compile browser REPL code to a temp directory, and
@@ -224,7 +224,7 @@ available. So, you can get Rebel Readline behavior by simply adding it
to your dependencies.
```
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.1\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.2\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
```
As of right now using Rebel readline does create some startup overhead
@@ -245,7 +245,7 @@ directory of your project.
Ensure your `deps.edn` file has the `figwheel.main` dependencies:
```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.1"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
;; setup some development paths
:paths ["src" "target" "resources"]
@@ -311,7 +311,7 @@ directory of your project.
Ensure your `project.clj` file has `figwheel.main` dependencies:
```clojure
:dependencies [[com.bhauman/figwheel-main "0.2.1"]
:dependencies [[com.bhauman/figwheel-main "0.2.2"]
[com.bhauman/rebel-readline-cljs "0.1.4"]]
;; setup target as a resource path
:resource-paths ["target" "resources"]
@@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add
a `re-frame` dependency like so:
```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.1"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
;; adding re-frame
re-frame {:mvn/version "1.10.5"}}
@@ -4,8 +4,8 @@
;; DEV for now its easier to use cider with top level deps
;; com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"}
;; com.bhauman/figwheel-repl {:local/root "/Users/bhauman/workspace/figwheel/figwheel-repl"}
com.bhauman/figwheel-repl {:mvn/version "0.2.2-SNAPSHOT"}
com.bhauman/figwheel-core {:mvn/version "0.2.2-SNAPSHOT"}
com.bhauman/figwheel-repl {:mvn/version "0.2.2"}
com.bhauman/figwheel-core {:mvn/version "0.2.2"}

;; server
ring {:mvn/version "1.7.1"}
@@ -200,7 +200,7 @@ On Mac OSX with brew:
Now launch a ClojureScript REPL with:
```
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.1\"}}}}" -m figwheel.main
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.2\"}}}}" -m figwheel.main
```
This will first compile browser REPL code to a temp directory, and
@@ -224,7 +224,7 @@ available. So, you can get Rebel Readline behavior by simply adding it
to your dependencies.
```
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.1\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.2\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
```
As of right now using Rebel readline does create some startup overhead
@@ -245,7 +245,7 @@ directory of your project.
Ensure your `deps.edn` file has the `figwheel.main` dependencies:
```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.1"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
;; setup some development paths
:paths ["src" "target" "resources"]
@@ -311,7 +311,7 @@ directory of your project.
Ensure your `project.clj` file has `figwheel.main` dependencies:
```clojure
:dependencies [[com.bhauman/figwheel-main "0.2.1"]
:dependencies [[com.bhauman/figwheel-main "0.2.2"]
[com.bhauman/rebel-readline-cljs "0.1.4"]]
;; setup target as a resource path
:resource-paths ["target" "resources"]
@@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add
a `re-frame` dependency like so:
```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.1"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
;; adding re-frame
re-frame {:mvn/version "1.10.5"}}

Some generated files are not rendered by default. Learn more.

@@ -147,7 +147,7 @@ Let's add the `cljs-src` path to our classpath with CLI Tools. In your
```clojure
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/figwheel-main {:mvn/version "0.2.1"}
com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
:aliases {:fig {:main-opts ["-m" "figwheel.main"]}}
;; define paths here
@@ -256,7 +256,7 @@ Edit `deps.edn`:
```clojure
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/figwheel-main {:mvn/version "0.2.1"}
com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
:aliases {:fig {:main-opts ["-m" "figwheel.main"]}
;; add "resources" path here
@@ -383,7 +383,7 @@ This is just a simple matter as we just need to add `"target"` to the
```clojure
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/figwheel-main {:mvn/version "0.2.1"}
com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
:aliases {:fig {:main-opts ["-m" "figwheel.main"]}
;; add "target" path here
@@ -53,7 +53,7 @@ touch deps.edn
Edit this script to look like the following:

```clojure
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.1"}}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.2"}}
:paths ["src" "resources" "target"]}
```

@@ -43,7 +43,7 @@ The contents of the `deps.edn` file should be:
```clojure
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/figwheel-main {:mvn/version "0.2.1"}
com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
:aliases {:fig {:main-opts ["-m" "figwheel.main"]}}
:paths ["src" "resources" "target"]}
@@ -57,7 +57,7 @@ If you're using Leiningen your `project.clj` should be:
:profiles
{:dev
{:dependencies [[org.clojure/clojurescript "1.10.339"]
[com.bhauman/figwheel-main "0.2.1"]
[com.bhauman/figwheel-main "0.2.2"]
;; optional but recommended
[com.bhauman/rebel-readline-cljs "0.1.4"]]
:resource-paths ["target"]
@@ -145,7 +145,7 @@ would look like this:
```clojure
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/figwheel-main {:mvn/version "0.2.1"}}
com.bhauman/figwheel-main {:mvn/version "0.2.2"}}
:paths ["src" "resources" "target"]}
```

@@ -161,7 +161,7 @@ As a concrete example, in the root directory of your project place a
:profiles
{:dev
{:dependencies [[org.clojure/clojurescript "1.10.339"]
[com.bhauman/figwheel-main "0.2.1"]
[com.bhauman/figwheel-main "0.2.2"]
;; optional but recommended
[com.bhauman/rebel-readline-cljs "0.1.4"]]}})
```
@@ -198,7 +198,7 @@ following contents:
```clojure
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/figwheel-main {:mvn/version "0.2.1"}
com.bhauman/figwheel-main {:mvn/version "0.2.2"}
;; optional but recommended
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}}
```
@@ -284,7 +284,7 @@ to launch a REPL with `figwheel.main`.
```clojure
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/figwheel-main {:mvn/version "0.2.1"}
com.bhauman/figwheel-main {:mvn/version "0.2.2"}
;; optional but recommended
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
:aliases {:fig {:main-opts ["-m" "figwheel.main"]}}}
@@ -45,7 +45,7 @@ In your `deps.edn` this would look like this:

```clojure
{:deps {org.clojure/clojurescript {:mvn/version "1.10.339"}
com.bhauman/figwheel-main {:mvn/version "0.2.1"}
com.bhauman/figwheel-main {:mvn/version "0.2.2"}
com.datomic/client-cloud {:mvn/version "0.8.71"}
;; directly specify all jetty dependencies

0 comments on commit 564c3c3

Please sign in to comment.
You can’t perform that action at this time.