Skip to content

Latest commit

 

History

History
executable file
·
45 lines (29 loc) · 802 Bytes

README.md

File metadata and controls

executable file
·
45 lines (29 loc) · 802 Bytes

Battleships game

Team 2, Moscow Clojure Meetup Dojo
March 24th, 2019

Screenshot

Develop

Run in developmeent:

yarn
(mkdir -p target && cp assets/index.html target/)
yarn shadow-cljs watch app

shadow-cljs will be installed in node_modules/ when you run yarn.

:dev-http specifies that target/ will be served at http://localhost:8080 .

REPL

After page is loaded, you may also start a REPL connected to browser with:

yarn shadow-cljs cljs-repl app

Release

Compile with optimizations with release sub-command:

yarn shadow-cljs release app
mkdir -p target && cp assets/index.html target/
yarn serve # serving target/ on http://localhost:8080

Read docs for more http://doc.shadow-cljs.org/ .

License

MIT