Moved everything from 'resources/public' to 'docs'
This commit is contained in:
parent
57b8abf0d3
commit
4468c155d3
Before Width: | Height: | Size: 646 B After Width: | Height: | Size: 646 B |
|
@ -26,7 +26,7 @@ html, body {
|
|||
letter-spacing: 0.002em;
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
padding: 0px 5%;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------------------------
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
8
docs/js/compiled/app.js
Normal file
8
docs/js/compiled/app.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
var CLOSURE_UNCOMPILED_DEFINES = null;
|
||||
if(typeof goog == "undefined") document.write('<script src="js/compiled/out/goog/base.js"></script>');
|
||||
document.write('<script src="js/compiled/out/cljs_deps.js"></script>');
|
||||
document.write('<script>if (typeof goog == "undefined") console.warn("ClojureScript could not load :main, did you forget to specify :asset-path?");</script>');
|
||||
document.write('<script>goog.require("devtools.preload");</script>');
|
||||
|
||||
document.write("<script>if (typeof goog != \"undefined\") { goog.require(\"figwheel.connect.dev\"); }</script>");
|
||||
document.write('<script>goog.require("swinging_needle_meter.core");</script>');
|
10
project.clj
10
project.clj
|
@ -14,9 +14,9 @@
|
|||
|
||||
:source-paths ["src/clj"]
|
||||
|
||||
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
|
||||
:clean-targets ^{:protect false} ["docs/js/compiled" "target"]
|
||||
|
||||
:figwheel {:css-dirs ["resources/public/css"]}
|
||||
:figwheel {:css-dirs ["docs/css"]}
|
||||
|
||||
:profiles
|
||||
{:dev
|
||||
|
@ -29,8 +29,8 @@
|
|||
:source-paths ["src/cljs"]
|
||||
:figwheel {:on-jsload "swinging-needle-meter.core/mount-root"}
|
||||
:compiler {:main swinging-needle-meter.core
|
||||
:output-to "resources/public/js/compiled/app.js"
|
||||
:output-dir "resources/public/js/compiled/out"
|
||||
:output-to "docs/js/compiled/app.js"
|
||||
:output-dir "docs/js/compiled/out"
|
||||
:asset-path "js/compiled/out"
|
||||
:source-map-timestamp true
|
||||
:preloads [devtools.preload]
|
||||
|
@ -40,7 +40,7 @@
|
|||
{:id "min"
|
||||
:source-paths ["src/cljs"]
|
||||
:compiler {:main swinging-needle-meter.core
|
||||
:output-to "resources/public/js/compiled/app.js"
|
||||
:output-to "docs/js/compiled/app.js"
|
||||
:optimizations :advanced
|
||||
:closure-defines {goog.DEBUG false}
|
||||
:pretty-print false}}]})
|
||||
|
|
Loading…
Reference in a new issue