Commit Graph

19 Commits

Author SHA1 Message Date
Juho Teperi 666a80fd02 Enable test coverage reports 2020-03-22 15:22:11 +02:00
Juho Teperi d663f3b53e Add shadow-cljs test configuration 2019-10-25 10:28:52 +03:00
Juho Teperi e095696bcc Use React 16 and simplify test setup 2018-04-03 10:33:01 +03:00
Juho Teperi 52b0b2eba4 Fix demo site build script, stop usinn lein profile merging 2017-10-18 14:25:41 +03:00
Juho Teperi 03ff2ffe87 Add karma junit reporter & other config 2017-10-14 16:20:43 +03:00
Juho Teperi 14c43e066f Run all tests on their own directories
This allows running figwheel on main folder, without node_modules from
tests messing the environment.
2017-10-13 15:02:10 +03: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
Howard M. Lewis Ship 94e973c4cb Ignore some IntelliJ related stuff 2015-06-18 16:20:50 -07: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 4c8f08c646 Make sure index.html is in git 2014-11-29 23:34:59 +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 35bc336743 Add a little demo 2014-01-30 22:29:42 +01:00
Dan Holmsand 446e05adec Move page generation to ClojureScript 2014-01-19 12:13:19 +01:00
Dan Holmsand 5fa400c86a Fix line break 2014-01-09 15:38:16 +01:00
Dan Holmsand 97799ae63c Improve demo a bit 2014-01-09 14:37:11 +01:00
Dan Holmsand 2c2dca026c Generate demo page 2014-01-05 11:16:01 +01:00
Dan Holmsand 9b3f188e91 Upload to clojars 2013-12-19 14:06:49 +01:00
Dan Holmsand 12566ced7b Initial version 2013-12-16 23:19:36 +01:00