-
-
Save joelkuiper/fe63fde980b7e786bfbd to your computer and use it in GitHub Desktop.
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
{:require [dre.app adzerk.boot-reload adzerk.boot-cljs-repl], | |
:compiler-options {:asset-path "app.out"}} |
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
(set-env! | |
:source-paths #{"src" "src-cljs"} | |
:resource-paths #{"resources"} | |
:dependencies '[[org.clojure/clojure "1.7.0"] | |
[selmer "0.9.0"] | |
[com.taoensso/timbre "4.1.1"] | |
[com.taoensso/tower "3.0.2"] | |
[markdown-clj "0.9.69"] | |
[environ "1.0.0"] | |
[compojure "1.4.0"] | |
[ring-webjars "0.1.1"] | |
[ring/ring-defaults "0.1.5"] | |
[ring-ttl-session "0.1.1"] | |
[ring "1.4.0" :exclusions [ring/ring-jetty-adapter]] | |
[metosin/ring-middleware-format "0.6.0"] | |
[metosin/ring-http-response "0.6.3"] | |
[prone "0.8.2"] | |
[org.clojure/tools.nrepl "0.2.10"] | |
[org.webjars/bootstrap "3.3.5"] | |
[org.webjars/jquery "2.1.4"] | |
[org.clojure/tools.reader "0.9.2"] | |
[reagent "0.5.1-rc"] | |
[cljsjs/react "0.13.3-1"] | |
[reagent-forms "0.5.6"] | |
[reagent-utils "0.1.5"] | |
[secretary "1.2.3"] | |
[org.clojure/core.async "0.1.346.0-17112a-alpha"] | |
[cljs-ajax "0.3.14"] | |
[metosin/compojure-api "0.22.2"] | |
[metosin/ring-swagger-ui "2.1.1"] | |
[http-kit "2.1.19"] | |
[org.clojure/clojurescript "1.7.48"] | |
[adzerk/boot-cljs "1.7.48-3" :scope "test"] | |
[adzerk/boot-cljs-repl "0.1.10-SNAPSHOT" :scope "test"] | |
[adzerk/boot-reload "0.3.2" :scope "test"] | |
[pandeiro/boot-http "0.6.3-SNAPSHOT" :scope "test"] | |
]) | |
(require '[adzerk.boot-cljs :refer :all]) | |
(require '[adzerk.boot-cljs-repl :refer :all]) | |
(require '[adzerk.boot-reload :refer :all]) | |
(require '[pandeiro.boot-http :refer :all]) | |
(require '[dre.handler]) | |
(task-options! | |
repl {:init-ns 'dre.core | |
:eval '(set! *print-length* 20)}) | |
(deftask dev [] | |
(set-env! | |
:source-paths #(conj % "src-cljs-dev")) | |
(comp | |
(serve :handler 'dre.handler/app | |
:reload true | |
:httpkit true | |
:init 'dre.handler/init) | |
(watch) | |
(reload :on-jsload 'dre.app/fig-reload) | |
(cljs-repl) | |
(cljs))) | |
(deftask build-cljs [] | |
(set-env! | |
:source-paths #(conj % "src-cljs-prod")) | |
(cljs :optimizations :advanced)) | |
(deftask build [] | |
(comp | |
(build-cljs) | |
(aot :namespace '#{dre.core}) | |
(pom :project 'dre | |
:version "1.0.0") | |
(uber) | |
(jar :main 'dre.core))) |
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
├── build.boot | |
├── dre.log | |
├── resources | |
│ ├── log4j.properties | |
│ ├── public | |
│ │ ├── css | |
│ │ │ └── screen.css | |
│ │ ├── img | |
│ │ └── js | |
│ │ └── app.cljs.edn | |
│ └── templates | |
│ ├── error.html | |
│ └── home.html | |
├── src | |
│ └── dre | |
│ ├── core.clj | |
│ ├── handler.clj | |
│ ├── layout.clj | |
│ ├── middleware.clj | |
│ └── routes | |
│ ├── home.clj | |
│ └── services.clj | |
├── src-cljs | |
│ └── dre | |
│ └── core.cljs | |
├── src-cljs-dev | |
│ └── dre | |
│ └── app.cljs | |
├── src-cljs-prod | |
│ └── dre | |
│ └── app.cljs | |
├── target | |
│ ├── log4j.properties | |
│ ├── public | |
│ │ ├── css | |
│ │ │ └── screen.css | |
│ │ └── js | |
│ │ ├── app.cljs.edn | |
│ │ ├── app.js | |
│ │ └── app.out | |
│ │ ├── adzerk | |
│ │ │ ├── boot_cljs_repl.cljs | |
│ │ │ ├── boot_cljs_repl.cljs.cache.edn | |
│ │ │ ├── boot_cljs_repl.js | |
│ │ │ ├── boot_cljs_repl.js.map | |
│ │ │ ├── boot_reload | |
│ │ │ │ ├── client.cljs | |
│ │ │ │ ├── client.cljs.cache.edn | |
│ │ │ │ ├── client.js | |
│ │ │ │ ├── client.js.map | |
│ │ │ │ ├── reload.cljs | |
│ │ │ │ ├── reload.cljs.cache.edn | |
│ │ │ │ ├── reload.js | |
│ │ │ │ ├── reload.js.map | |
│ │ │ │ ├── websocket.cljs | |
│ │ │ │ ├── websocket.cljs.cache.edn | |
│ │ │ │ ├── websocket.js | |
│ │ │ │ └── websocket.js.map | |
│ │ │ ├── boot_reload.cljs | |
│ │ │ ├── boot_reload.cljs.cache.edn | |
│ │ │ ├── boot_reload.js | |
│ │ │ └── boot_reload.js.map | |
│ │ ├── ajax | |
│ │ │ ├── core.cljs | |
│ │ │ ├── core.cljs.cache.edn | |
│ │ │ ├── core.js | |
│ │ │ └── core.js.map | |
│ │ ├── boot | |
│ │ │ └── cljs | |
│ │ │ ├── main29378.cljs | |
│ │ │ ├── main29378.cljs.cache.edn | |
│ │ │ ├── main29378.js | |
│ │ │ └── main29378.js.map | |
│ │ ├── cljs | |
│ │ │ ├── core.cljs | |
│ │ │ ├── core.js | |
│ │ │ ├── core.js.map | |
│ │ │ ├── reader.cljs | |
│ │ │ ├── reader.cljs.cache.edn | |
│ │ │ ├── reader.js | |
│ │ │ ├── reader.js.map | |
│ │ │ ├── repl.cljs | |
│ │ │ ├── repl.cljs.cache.edn | |
│ │ │ ├── repl.js | |
│ │ │ └── repl.js.map | |
│ │ ├── cljs_deps.js | |
│ │ ├── clojure | |
│ │ │ ├── browser | |
│ │ │ │ ├── event.cljs | |
│ │ │ │ ├── event.cljs.cache.edn | |
│ │ │ │ ├── event.js | |
│ │ │ │ ├── event.js.map | |
│ │ │ │ ├── net.cljs | |
│ │ │ │ ├── net.cljs.cache.edn | |
│ │ │ │ ├── net.js | |
│ │ │ │ ├── net.js.map | |
│ │ │ │ ├── repl.cljs | |
│ │ │ │ ├── repl.cljs.cache.edn | |
│ │ │ │ ├── repl.js | |
│ │ │ │ └── repl.js.map | |
│ │ │ ├── string.cljs | |
│ │ │ ├── string.cljs.cache.edn | |
│ │ │ ├── string.js | |
│ │ │ ├── string.js.map | |
│ │ │ ├── walk.cljs | |
│ │ │ ├── walk.cljs.cache.edn | |
│ │ │ ├── walk.js | |
│ │ │ └── walk.js.map | |
│ │ ├── cognitect | |
│ │ │ ├── transit.cljs | |
│ │ │ ├── transit.cljs.cache.edn | |
│ │ │ ├── transit.js | |
│ │ │ └── transit.js.map | |
│ │ ├── com | |
│ │ │ └── cognitect | |
│ │ │ ├── transit | |
│ │ │ │ ├── caching.js | |
│ │ │ │ ├── delimiters.js | |
│ │ │ │ ├── eq.js | |
│ │ │ │ ├── handlers.js | |
│ │ │ │ ├── impl | |
│ │ │ │ │ ├── decoder.js | |
│ │ │ │ │ ├── reader.js | |
│ │ │ │ │ └── writer.js | |
│ │ │ │ ├── types.js | |
│ │ │ │ └── util.js | |
│ │ │ └── transit.js | |
│ │ ├── dre | |
│ │ │ ├── app.cljs | |
│ │ │ ├── app.cljs.cache.edn | |
│ │ │ ├── app.js | |
│ │ │ ├── app.js.map | |
│ │ │ ├── core.cljs | |
│ │ │ ├── core.cljs.cache.edn | |
│ │ │ ├── core.js | |
│ │ │ └── core.js.map | |
│ │ ├── goog | |
│ │ │ ├── array | |
│ │ │ │ └── array.js | |
│ │ │ ├── asserts | |
│ │ │ │ └── asserts.js | |
│ │ │ ├── async | |
│ │ │ │ ├── delay.js | |
│ │ │ │ ├── freelist.js | |
│ │ │ │ ├── nexttick.js | |
│ │ │ │ ├── run.js | |
│ │ │ │ └── workqueue.js | |
│ │ │ ├── base.js | |
│ │ │ ├── debug | |
│ │ │ │ ├── debug.js | |
│ │ │ │ ├── entrypointregistry.js | |
│ │ │ │ ├── error.js | |
│ │ │ │ ├── logbuffer.js | |
│ │ │ │ ├── logger.js | |
│ │ │ │ └── logrecord.js | |
│ │ │ ├── deps.js | |
│ │ │ ├── disposable | |
│ │ │ │ ├── disposable.js | |
│ │ │ │ └── idisposable.js | |
│ │ │ ├── dom | |
│ │ │ │ ├── browserfeature.js | |
│ │ │ │ ├── dom.js | |
│ │ │ │ ├── inputtype.js | |
│ │ │ │ ├── nodetype.js | |
│ │ │ │ ├── safe.js | |
│ │ │ │ ├── tagname.js | |
│ │ │ │ └── tags.js | |
│ │ │ ├── events | |
│ │ │ │ ├── browserevent.js | |
│ │ │ │ ├── browserfeature.js | |
│ │ │ │ ├── event.js | |
│ │ │ │ ├── eventhandler.js | |
│ │ │ │ ├── eventid.js | |
│ │ │ │ ├── events.js | |
│ │ │ │ ├── eventtarget.js | |
│ │ │ │ ├── eventtype.js | |
│ │ │ │ ├── listenable.js | |
│ │ │ │ ├── listener.js | |
│ │ │ │ └── listenermap.js | |
│ │ │ ├── fs | |
│ │ │ │ └── url.js | |
│ │ │ ├── functions | |
│ │ │ │ └── functions.js | |
│ │ │ ├── history | |
│ │ │ │ ├── event.js | |
│ │ │ │ ├── eventtype.js | |
│ │ │ │ └── history.js | |
│ │ │ ├── html | |
│ │ │ │ ├── legacyconversions.js | |
│ │ │ │ ├── safehtml.js | |
│ │ │ │ ├── safescript.js | |
│ │ │ │ ├── safestyle.js | |
│ │ │ │ ├── safestylesheet.js | |
│ │ │ │ ├── safeurl.js | |
│ │ │ │ ├── trustedresourceurl.js | |
│ │ │ │ └── uncheckedconversions.js | |
│ │ │ ├── i18n | |
│ │ │ │ └── bidi.js | |
│ │ │ ├── iter | |
│ │ │ │ └── iter.js | |
│ │ │ ├── json | |
│ │ │ │ └── json.js | |
│ │ │ ├── labs | |
│ │ │ │ └── useragent | |
│ │ │ │ ├── browser.js | |
│ │ │ │ ├── device.js | |
│ │ │ │ ├── engine.js | |
│ │ │ │ ├── platform.js | |
│ │ │ │ └── util.js | |
│ │ │ ├── log | |
│ │ │ │ └── log.js | |
│ │ │ ├── math | |
│ │ │ │ ├── coordinate.js | |
│ │ │ │ ├── long.js | |
│ │ │ │ ├── math.js | |
│ │ │ │ └── size.js | |
│ │ │ ├── memoize | |
│ │ │ │ └── memoize.js | |
│ │ │ ├── messaging | |
│ │ │ │ ├── abstractchannel.js | |
│ │ │ │ └── messagechannel.js | |
│ │ │ ├── mochikit | |
│ │ │ │ └── async | |
│ │ │ │ ├── deferred.js | |
│ │ │ │ └── deferredlist.js | |
│ │ │ ├── net | |
│ │ │ │ ├── errorcode.js | |
│ │ │ │ ├── eventtype.js | |
│ │ │ │ ├── httpstatus.js | |
│ │ │ │ ├── jsloader.js | |
│ │ │ │ ├── websocket.js | |
│ │ │ │ ├── wrapperxmlhttpfactory.js | |
│ │ │ │ ├── xhrio.js | |
│ │ │ │ ├── xhriopool.js | |
│ │ │ │ ├── xhrlike.js | |
│ │ │ │ ├── xhrmanager.js | |
│ │ │ │ ├── xmlhttp.js | |
│ │ │ │ ├── xmlhttpfactory.js | |
│ │ │ │ └── xpc | |
│ │ │ │ ├── crosspagechannel.js | |
│ │ │ │ ├── crosspagechannelrole.js | |
│ │ │ │ ├── directtransport.js | |
│ │ │ │ ├── frameelementmethodtransport.js | |
│ │ │ │ ├── iframepollingtransport.js | |
│ │ │ │ ├── iframerelaytransport.js | |
│ │ │ │ ├── nativemessagingtransport.js | |
│ │ │ │ ├── nixtransport.js | |
│ │ │ │ ├── transport.js | |
│ │ │ │ └── xpc.js | |
│ │ │ ├── object | |
│ │ │ │ └── object.js | |
│ │ │ ├── promise | |
│ │ │ │ ├── promise.js | |
│ │ │ │ ├── resolver.js | |
│ │ │ │ └── thenable.js | |
│ │ │ ├── reflect | |
│ │ │ │ └── reflect.js | |
│ │ │ ├── string | |
│ │ │ │ ├── const.js | |
│ │ │ │ ├── string.js | |
│ │ │ │ ├── stringbuffer.js | |
│ │ │ │ └── typedstring.js | |
│ │ │ ├── structs | |
│ │ │ │ ├── collection.js | |
│ │ │ │ ├── heap.js | |
│ │ │ │ ├── map.js | |
│ │ │ │ ├── node.js | |
│ │ │ │ ├── pool.js | |
│ │ │ │ ├── prioritypool.js | |
│ │ │ │ ├── priorityqueue.js | |
│ │ │ │ ├── queue.js | |
│ │ │ │ ├── set.js | |
│ │ │ │ └── structs.js | |
│ │ │ ├── testing | |
│ │ │ │ └── watchers.js | |
│ │ │ ├── timer | |
│ │ │ │ └── timer.js | |
│ │ │ ├── uri | |
│ │ │ │ ├── uri.js | |
│ │ │ │ └── utils.js | |
│ │ │ └── useragent | |
│ │ │ ├── product.js | |
│ │ │ └── useragent.js | |
│ │ ├── markdown | |
│ │ │ ├── core.cljs | |
│ │ │ ├── core.cljs.cache.edn | |
│ │ │ ├── core.js | |
│ │ │ ├── core.js.map | |
│ │ │ ├── transformers.cljc | |
│ │ │ ├── transformers.cljc.cache.edn | |
│ │ │ ├── transformers.js | |
│ │ │ └── transformers.js.map | |
│ │ ├── react.inc.js | |
│ │ ├── reagent | |
│ │ │ ├── core.cljs | |
│ │ │ ├── core.cljs.cache.edn | |
│ │ │ ├── core.js | |
│ │ │ ├── core.js.map | |
│ │ │ ├── debug.cljs | |
│ │ │ ├── debug.cljs.cache.edn | |
│ │ │ ├── debug.js | |
│ │ │ ├── debug.js.map | |
│ │ │ ├── impl | |
│ │ │ │ ├── batching.cljs | |
│ │ │ │ ├── batching.cljs.cache.edn | |
│ │ │ │ ├── batching.js | |
│ │ │ │ ├── batching.js.map | |
│ │ │ │ ├── component.cljs | |
│ │ │ │ ├── component.cljs.cache.edn | |
│ │ │ │ ├── component.js | |
│ │ │ │ ├── component.js.map | |
│ │ │ │ ├── template.cljs | |
│ │ │ │ ├── template.cljs.cache.edn | |
│ │ │ │ ├── template.js | |
│ │ │ │ ├── template.js.map | |
│ │ │ │ ├── util.cljs | |
│ │ │ │ ├── util.cljs.cache.edn | |
│ │ │ │ ├── util.js | |
│ │ │ │ └── util.js.map | |
│ │ │ ├── interop.cljs | |
│ │ │ ├── interop.cljs.cache.edn | |
│ │ │ ├── interop.js | |
│ │ │ ├── interop.js.map | |
│ │ │ ├── ratom.cljs | |
│ │ │ ├── ratom.cljs.cache.edn | |
│ │ │ ├── ratom.js | |
│ │ │ ├── ratom.js.map | |
│ │ │ ├── session.cljs | |
│ │ │ ├── session.cljs.cache.edn | |
│ │ │ ├── session.js | |
│ │ │ └── session.js.map | |
│ │ ├── secretary | |
│ │ │ ├── core.cljs | |
│ │ │ ├── core.cljs.cache.edn | |
│ │ │ ├── core.js | |
│ │ │ └── core.js.map | |
│ │ └── weasel | |
│ │ ├── impls | |
│ │ │ ├── websocket.cljs | |
│ │ │ ├── websocket.cljs.cache.edn | |
│ │ │ ├── websocket.js | |
│ │ │ └── websocket.js.map | |
│ │ ├── repl.cljs | |
│ │ ├── repl.cljs.cache.edn | |
│ │ ├── repl.js | |
│ │ └── repl.js.map | |
│ └── templates | |
│ ├── error.html | |
│ └── home.html | |
└── test | |
└── dre | |
└── test | |
└── handler.clj | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment