Commit Graph

8 Commits

Author SHA1 Message Date
Dan Holmsand 73d0478607 Simplify setup of doc site and testing
Take advantage of figwheel 0.2.3
2015-02-10 18:20:48 +01:00
Dan Holmsand 163308a392 Make site and examples work with ClojureScript 2816
ClojureScript all of a sudden complains about "single segment
namespaces", which forces a rather massive reorg.

Also, cljs.test/run-tests is broken.
2015-02-10 14:35:12 +01:00
Dan Holmsand a1e4de4d68 Make tests only run once when figwheel reloads 2015-02-08 12:26:39 +01:00
Dan Holmsand 2c2eb9960f Use figwheel 0.1.7 2014-12-09 07:43:32 +01:00
Dan Holmsand ed06312eaf Make render force already mounted components to update by default
This should make using Reagent with figwheel more convenient (no need
for force-update-all). Add a fourth argument to render that controls
the updating.
2014-12-07 10:00:47 +01:00
Dan Holmsand 723a1aa379 Really make advanced mode tests work 2014-11-29 23:47:57 +01:00
Dan Holmsand 17375490fe Got site generation and tests working with advanced compilation 2014-11-29 23:26:42 +01:00
Dan Holmsand bffbae231d Reorganize build, tests and doc site
Tests and doc site can now run without node, using only
"lein figwheel". Tests and site are then re-run automatically
whenever a source file changes.

The doc site is now generated into "outsite/public", and can be
copied into the "gh-pages" branch with "make build-gh-pages".

"make push-gh-pages" builds the doc site and pushes it upstream
to the gh-pages branch there.

Generation of html pages is now handled completely in
ClojureScript, loaded from "bin/gen-site.js".

Link handling is a bit simplified.
2014-11-29 18:30:24 +01:00