-
-
Save yayitswei/317dfec919d01e67fb4c to your computer and use it in GitHub Desktop.
works with “lein with-profile dev cljsbuild once”, but not “lein with-profile dev figwheel”
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject breka "0.1.0-SNAPSHOT" | |
:description "Slices up dance clips on YouTube" | |
:url "http://breka.net" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:repositories {"my.datomic.com" {:url "https://my.datomic.com/repo"}} | |
:source-paths ["src/clj" "dev"] | |
:main breka.server | |
:dependencies [[org.clojure/clojure "1.7.0-beta3"] | |
[org.clojure/clojurescript "0.0-3269"] | |
[org.clojure/core.async "0.1.346.0-17112a-alpha"] | |
[org.clojure/core.match "0.2.1"] | |
[http-kit "2.1.18"] | |
[ring "1.3.2"] | |
[compojure "1.3.4"] | |
[figwheel "0.3.2"] | |
[environ "1.0.0"] | |
[reagent "0.5.0"] | |
[reagent-forms "0.2.8"] | |
[cljs-ajax "0.3.3"] | |
[secretary "1.2.3"] | |
[re-frame "0.4.0"] | |
[re-com "0.5.4"] | |
[reagent/reagent-cursor "0.1.2"] | |
[com.cemerick/url "0.1.1"] | |
[com.taoensso/sente "1.4.1"] | |
[com.datomic/datomic-pro "0.9.5067" | |
:exclusions [org.slf4j/slf4j-nop joda-time org.slf4j/slf4j-log4j12]] | |
[dbutil "0.1.0"] | |
[com.cemerick/friend "0.2.2-SNAPSHOT"] | |
[yayitswei/fb-sdk-cljs "0.1.0"] | |
[yayitswei/clj-facebook-graph "0.4.2"] | |
[com.andrewmcveigh/cljs-time "0.3.5"] | |
[yayitswei/warpcore "0.1.0-SNAPSHOT"] | |
[com.taoensso/timbre "3.4.0"] | |
[org.clojure/tools.nrepl "0.2.5"] | |
[org.apache.httpcomponents/httpclient "4.3.5"]] | |
:min-lein-version "2.5.0" | |
:zip ["Dockerfile" | |
"Dockerrun.aws.json" | |
"target/breka-0.1.0-SNAPSHOT-standalone.jar"] | |
:plugins [[lein-cljsbuild "1.0.5"] | |
[lein-environ "1.0.0"] | |
[lein-figwheel "0.3.2"] | |
[lein-zip "0.1.0"]] | |
:clean-targets ^{:protect false} ["resources/public/js/app" | |
"resources/public/js/app.js"] | |
:profiles {:dev {:cljsbuild | |
{:builds | |
{:app {:figwheel {:on-jsload "cljs.user/figwheel-reload-hook"} | |
:source-paths ["src/cljs" "dev"] | |
:compiler {:main breka.core | |
:asset-path "js/app" | |
:optimizations :none | |
:source-map true | |
:source-map-timestamp true}}}}} | |
:prod {:hooks [leiningen.cljsbuild] | |
:cljsbuild | |
{:builds | |
{:app {:source-paths ["src/cljs"] | |
:compiler {:optimizations :simple | |
:elide-asserts true | |
:pretty-print false}}}}}} | |
:cljsbuild {:builds {:app {:source-paths ["src/cljs"] | |
:compiler | |
{:output-dir "resources/public/js/app" | |
:output-to "resources/public/js/app.js"}}}} | |
:figwheel {:css-dirs ["resources/public/css"] | |
:open-file-command "/usr/local/bin/emacs-fileopener"}) |
Hmmm are you keeping stuff in closure-js/libs
for this project?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With
lein with-profile dev figwheel
I get aUncaught ReferenceError: goog is not defined
on page load.