(defproject github-colorful-contributions-graph "4.0.2"
  :description "A Chrome extension for customizing the colors of the GitHub contributions graph."
  :url "-colorful-contributions-graph"
  :license {:name "Eclipse Public License"
            :url "-v10.html"}

  :min-lein-version "2.7.1"

  :dependencies [[org.clojure/clojure "1.10.1"]
                 [org.clojure/clojurescript "1.10.773"]
                 [reagent "0.10.0"]]

  :plugins [[lein-ancient "0.6.15"]]

  :source-paths ["src"]

  :aliases {"fig"       ["trampoline" "run" "-m" "figwheel.main"]
            "fig:build" ["trampoline" "run" "-m" "figwheel.main" "-b" "dev"]
            "fig:min"   ["run" "-m" "figwheel.main" "-O" "advanced" "-bo" "min"]} ;; -bo: build-once

  :profiles {:dev {:dependencies [[com.bhauman/figwheel-main "0.2.12"]
                                  [com.bhauman/rebel-readline-cljs "0.1.4"]]

                   :resource-paths ["target"]
                   ;; need to add the compiled assets to the :clean-targets
                   :clean-targets ^{:protect false} ["target"]}})

 -bo: build-once
 need to add the compiled assets to the :clean-targets
(defproject github-colorful-contributions-graph "4.0.2"
  :description "A Chrome extension for customizing the colors of the GitHub contributions graph."
  :url "-colorful-contributions-graph"
  :license {:name "Eclipse Public License"
            :url "-v10.html"}

  :min-lein-version "2.7.1"

  :dependencies [[org.clojure/clojure "1.10.1"]
                 [org.clojure/clojurescript "1.10.773"]
                 [reagent "0.10.0"]]

  :plugins [[lein-ancient "0.6.15"]]

  :source-paths ["src"]

  :aliases {"fig"       ["trampoline" "run" "-m" "figwheel.main"]
            "fig:build" ["trampoline" "run" "-m" "figwheel.main" "-b" "dev"]

  :profiles {:dev {:dependencies [[com.bhauman/figwheel-main "0.2.12"]
                                  [com.bhauman/rebel-readline-cljs "0.1.4"]]

                   :resource-paths ["target"]
                   :clean-targets ^{:protect false} ["target"]}})
