experimenting with generative art in Clojure with Quil
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.6 KiB

(defproject generative-art "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
: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.20"]
[cider/cider-nrepl "0.24.0"]]
:hooks [leiningen.cljsbuild]
:clean-targets ^{:protect false} ["resources/public/js"]
{:builds [; development build with figwheel hot swap
{:id "development"
:source-paths ["src"]
:figwheel true
{:main "generative-art.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"]
{:main "generative-art.core"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/optimized"
:asset-path "js/optimized"
:optimizations :advanced}}]}
:profiles {:dev {:dependencies [[cider/piggieback "0.5.0"]
[figwheel-sidecar "0.5.20"]]
:source-paths ["src"]
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}}})