 
   :source-paths ["src"]
 
-  :clean-targets ^{:protect false} ["resources/public/js/out" "target"]
+  :clean-targets ^{:protect false} ["resources/public/js/out"
+                                    "resources/public/js/app.js"
+                                    "target"]
 
   :test-paths ["test" "test/services"]
 

                 [ring/ring-defaults        "0.1.5"]

                 [compojure "1.4.0"]
                                          
                 ;[reagent "0.5.1"]
                                  
                 ; Code cleaness tools
                 [repetition-hunter "1.0.0"]



  :main ^:skip-aot tango.core
  :target-path "target/%s"
  :profiles {:uberjar {:aot :all
                       :hooks     [leiningen.cljsbuild]}}

  :aliases {"quality"    ["do"
                          ;; excluding constant test due to not working well with logging
                          ["eastwood" "{:exclude-linters [:constant-test]}"]
                          ["kibit"]
                          ["ancient"]]

            "doc"        ["do"
                          ["hiera"]
                          ["marg" "src" "test" "specs" "--dir" "./doc"]]

            "pre-commit" ["do"
                          ["test"]
