Skip to content

Commit

Permalink
add run & watch scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dnolen committed Dec 23, 2015
1 parent 4ddab10 commit 4173d01
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -e

java -cp `cat classpath.txt` clojure.main $@
12 changes: 12 additions & 0 deletions script/watch.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(require '[cljs.build.api :as b])

(b/watch (b/inputs "src/main" "src/devcards")
{:main 'om.devcards.core
:asset-path "/devcards/out"
:output-to "resources/public/devcards/main.js"
:output-dir "resources/public/devcards/out"
:parallel-build true
:compiler-stats true
:verbose true})

(System/exit 0)

0 comments on commit 4173d01

Please sign in to comment.