My attempt to recreate ClojureScript development workflow while developing desktop apps with electron.
- ClojureScript (init script and ui code)
- Figwheel for interactive development (+ serves webjars)
- Reagent for UI
gem install foreman # install foreman gem (see Procfile)
npm install electron-prebuilt -g # install electron binaries
foreman start & # compile cljs and start figwheel
electron . # start electron
lein cljsbuild once frontend-release # compile ui code
lein cljsbuild once electron-release # compile electron initialization code
electron . # start electron to test that everything works
After that you can follow distribution guide for the electron.