(defproject visibility-2d "0.1.0"
  :description "2D Visibility"
  :url "https://toblux.github.io/visibility-2d/"

  :dependencies [[org.clojure/clojure "1.7.0"]
                 [org.clojure/clojurescript "1.7.170"]]

  :plugins [[lein-cljsbuild "1.1.1"]]

  :clean-targets ^{:protect false} ["target" "resources/public/js"]

  :hooks [leiningen.cljsbuild]

  :cljsbuild {:builds [{:id "debug"
                        :source-paths ["src-cljs"]
                        :compiler {:output-to "resources/public/js/visibility-2d.js"
                                   :output-dir "resources/public/js/out"
                                   :optimizations :none
                                   :source-map true}}
                       {:id "release"
                        :source-paths ["src-cljs"]
                        :compiler {:elide-asserts true
                                   :pretty-print false
                                   :output-to "resources/public/js/visibility-2d.min.js"
                                   :optimizations :advanced}}]})

(defproject visibility-2d "0.1.0"
  :description "2D Visibility"
  :url "https://toblux.github.io/visibility-2d/"

  :dependencies [[org.clojure/clojure "1.8.0"]
                 [org.clojure/clojurescript "1.8.51"]]

  :plugins [[lein-cljsbuild "1.1.3"]]

  :clean-targets ^{:protect false} ["target" "resources/public/js"]

  :hooks [leiningen.cljsbuild]

  :cljsbuild {:builds [{:id "debug"
                        :source-paths ["src-cljs"]
                        :compiler {:output-to "resources/public/js/visibility-2d.js"
                                   :output-dir "resources/public/js/out"
                                   :optimizations :none
                                   :source-map true}}
                       {:id "release"
                        :source-paths ["src-cljs"]
                        :compiler {:elide-asserts true
                                   :pretty-print false
                                   :output-to "resources/public/js/visibility-2d.min.js"
                                   :optimizations :advanced}}]})

Upgrade Clojure and ClojureScript versions
Upgrade Clojure and ClojureScript versions
toblux/visibility-2d