curlnoise/project.clj
Chris Hodapp 124be0cd54 Add working cljs version
Use 'lein compile' or 'lein figwheel'.

Still figuring out details like how to make it compatible with normal
Clojure simultaneously.  However, code changes were pretty minimal.
2020-07-09 19:35:01 -04:00

36 lines
1.3 KiB
Clojure

(defproject curlnoise "0.1.0-SNAPSHOT"
:description "Quil implementation of 'Curl-Noise for Procedural Fluid-Flow'"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
;; :aot [curlnoise.core]
;; :main curlnoise.core
:dependencies [[org.clojure/clojure "1.10.1"]
[quil "3.1.0"]
[org.clojure/clojurescript "1.10.520"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.19"]]
:hooks [leiningen.cljsbuild]
:clean-targets ^{:protect false} ["resources/public/js"]
:cljsbuild
{:builds [; development build with figwheel hot swap
{:id "development"
:source-paths ["src"]
:figwheel true
:compiler
{:main "curlnoise.core"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/development"
:asset-path "js/development"}}
; minified and bundled build for deployment
{:id "optimized"
:source-paths ["src"]
:compiler
{:main "curlnoise.core"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/optimized"
:asset-path "js/optimized"
:optimizations :advanced}}]})