Skip to content

Latest commit

 

History

History
32 lines (32 loc) · 953 Bytes

README.org

File metadata and controls

32 lines (32 loc) · 953 Bytes

SpreadX

Install npm dependencies

npm install

Start by jacking-in some repl onto your preferred editor :D

npx shadow-cljs

Start shadow/watch to begin the project

  • on shadow clj repl do:
(shadow/watch :workspaces)
;; and when finished the building
;; if you want some repl,
(shadow/repl :workspaces)
  • The entrypoint of the workspaces application is on entrypoint
  • The entrypoint of the web application is on entrypoint

CI Compiling / Usage

  • Added a npm run tests that does this:
shadow-cljs compile ci && npx karma start --single-run

Production Build

clj -X:build-cljs && clj -X:build && java -jar spread-x.jar
  • Run build on cljs and start application on clojure:
clj -X:build-cljs  && clj -M -m main