Commit Graph

17 Commits

Author SHA1 Message Date
Juho Teperi 19ae267b32 Fix CI tests
Gen-site.js is used both to pre-render HTML files and run tests.
2017-03-11 00:58:14 +02:00
Juho Teperi 8ff70c7eb9 Separate prerender code using dom-server and browser JS code
Requiring react-dom-server with React 15.4 in browser code would increase
filesize by about 100KB. This change separates the pre-render code to
a different file which is only used by a separate Lein profile.
2017-03-11 00:37:12 +02:00
Dan Holmsand d9ad7740ec Make it easier to use with webpack and node
Demo and tests now can run with webpack-generated React

Use js/require, to make Reagent work better with node
2015-10-10 13:40:33 +02:00
Dan Holmsand 6b9aeffadd Make tests run in node in debug mode as well
And simplify site generation
2015-08-20 09:54:15 +02:00
Dan Holmsand 2293c88f10 Make sure site generation works with newer ClojureScript 2015-08-19 10:13:25 +02:00
Dan Holmsand 60d99c44fe Make site generation work with new cljs 2015-03-22 12:14:24 +01:00
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 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