Commit Graph

16 Commits

Author SHA1 Message Date
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
Dan Holmsand 429ed50fab Make demo code more Light Table-friendly 2014-04-01 19:50:28 +02:00
Dan Holmsand 2e0e369d93 Use new javascript interop macros 2014-03-25 12:37:28 +01:00
Dan Holmsand 0f2136d4b4 Allow render-component to take a function returning a component 2014-03-18 16:43:19 +01:00
Dan Holmsand ba995c2e0d Add force-update-all, to make LightTable integration easier
force-update-all re-mounts all root components, and makes all
their children re-render.
2014-03-18 13:09:55 +01:00
Dan Holmsand 23a5f80197 Fix test-running under advanced compilation
Turns out that clojurescript.test breaks unless the test
directory is included first, but only with advanced compilation
and only on the first run...
2014-01-25 17:02:58 +01:00
Dan Holmsand 8110b1aca8 Tweak demo and testing 2014-01-24 11:03:01 +01:00
Dan Holmsand 8e542292a2 Cloact -> Reagent 2014-01-17 11:12:11 +01:00
Dan Holmsand fb7310870a Fix test-running in advanced compilation 2014-01-10 14:27:59 +01:00
Dan Holmsand 94cdfd6a2f Move demo to separate directory 2014-01-10 11:49:36 +01:00
Dan Holmsand 97799ae63c Improve demo a bit 2014-01-09 14:37:11 +01:00
Dan Holmsand c159984024 Include examples and tests in demo page 2014-01-06 19:16:53 +01:00
Dan Holmsand 454a7af31d Start on docs and demos 2014-01-02 14:04:30 +01:00
Dan Holmsand 6191a4c0bc Add some animation to todomvc 2013-12-17 22:25:11 +01:00
Dan Holmsand 12566ced7b Initial version 2013-12-16 23:19:36 +01:00