Remove backend code and adapt scripts to new structure.

This commit is contained in:
Andrey Antukh
2016-01-12 16:54:31 +02:00
parent 92a83c2506
commit 32cbe2c1a5
13 changed files with 34 additions and 388 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/sh
lein with-profile +front trampoline run -m clojure.main scripts/build.clj
lein trampoline run -m clojure.main scripts/build.clj

View File

@@ -8,11 +8,11 @@
(let [start (System/nanoTime)]
(b/build
(b/inputs "frontend")
(b/inputs "src")
{:main 'uxbox.core
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js"
:parallel-build true
:parallel-build false
:optimizations :advanced
:language-in :ecmascript5
:language-out :ecmascript5

View File

@@ -1,2 +1,2 @@
#!/bin/bash
rlwrap lein with-profile +front run -m clojure.main scripts/figwheel.clj
rlwrap lein trampoline run -m clojure.main scripts/figwheel.clj

View File

@@ -11,7 +11,7 @@
:all-builds
[{:id "dev"
:figwheel true
:source-paths ["frontend"]
:source-paths ["src"]
:compiler {:main 'uxbox.core
:asset-path "js"
:parallel-build false

View File

@@ -1,2 +1,2 @@
#!/bin/sh
lein with-profile +front trampoline run -m clojure.main scripts/watch.clj
lein trampoline run -m clojure.main scripts/watch.clj

View File

@@ -4,11 +4,11 @@
(alter-var-root #'cljs.tagged-literals/*cljs-data-readers*
assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v)))
(b/watch (b/inputs "frontend")
(b/watch (b/inputs "src")
{:main 'uxbox.core
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js"
:parallel-build true
:parallel-build false
:asset-path "/js"
:optimizations :none
:pretty-print true