Skip to content

Instantly share code, notes, and snippets.

@levand
Last active January 10, 2017 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levand/c33b5479f82253627659e0fb9a8ec775 to your computer and use it in GitHub Desktop.
Save levand/c33b5479f82253627659e0fb9a8ec775 to your computer and use it in GitHub Desktop.
Arachne asset DSL with the flow wired up as a separate form
(def opts {:output-to "main.js"
:asset-path "js"
:output-dir "js"
:optimizations :none
:main 'arachne.cljs.example})
(a/input-dir :test/input {:dir "src/cljs" :watch? false})
(cljs/build :test/build {:compiler-options opts})
(a/output-dir :test/output {:dir "out"})
(a/pipeline [:test/input :test/build]
[:test/build :test/output])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment