Commit Graph

16 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 212f69e180 Make sure gen-site exists, even when intervals are running 2015-02-09 14:14:12 +01:00
Dan Holmsand 0b97403d1b Use cljsjs/react and require clojurescript >= 2740
This means that old style :preamble inclusion is deprecated.
2015-01-29 14:49:01 +01:00
Dan Holmsand 2c2eb9960f Use figwheel 0.1.7 2014-12-09 07:43:32 +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 95389b6fde Beep on generation error 2014-01-20 09:40:56 +01:00
Dan Holmsand 446e05adec Move page generation to ClojureScript 2014-01-19 12:13:19 +01:00
Dan Holmsand 3a943b0ad2 Try to make site look at least decent on mobile 2014-01-09 18:04:12 +01:00
Dan Holmsand 97799ae63c Improve demo a bit 2014-01-09 14:37:11 +01:00
Dan Holmsand 062fb33cb3 Make demo a little prettier 2014-01-07 12:45:08 +01:00
Dan Holmsand 2c2dca026c Generate demo page 2014-01-05 11:16:01 +01:00
Dan Holmsand 2ca62689f9 Avoid closure's mangling by evaling react.min.js 2013-12-18 14:56:38 +01:00
Dan Holmsand c26d3550f4 Make test work with node 2013-12-18 12:14:57 +01:00
Dan Holmsand 6437736815 Remove old gencljs 2013-12-16 23:26:59 +01:00
Dan Holmsand 12566ced7b Initial version 2013-12-16 23:19:36 +01:00