mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
Many changes on scripts.
This commit is contained in:
parent
bced1ebd2f
commit
d5df7eba3b
10 changed files with 28 additions and 22 deletions
11
.travis.yml
11
.travis.yml
|
@ -1,6 +1,6 @@
|
|||
language: clojure
|
||||
lein: lein
|
||||
sudo: false
|
||||
lein: lein
|
||||
|
||||
script:
|
||||
- ./scripts/build-tests
|
||||
|
@ -11,6 +11,9 @@ script:
|
|||
jdk:
|
||||
- oraclejdk8
|
||||
|
||||
node_js:
|
||||
- "5.10.1"
|
||||
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
- niwi@niwi.nz
|
||||
on_success: change
|
||||
on_failure: change
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
(let [start (System/nanoTime)]
|
||||
(b/build
|
||||
(b/inputs "src" "vendor" "test")
|
||||
(b/inputs "src" "test")
|
||||
{:main 'uxbox.tests.main
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
|
|
|
@ -4,17 +4,18 @@
|
|||
|
||||
(let [start (System/nanoTime)]
|
||||
(b/build
|
||||
(b/inputs "src" "vendor")
|
||||
(b/inputs "src")
|
||||
{:main 'uxbox.worker
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
:output-to "resources/public/js/worker.js"
|
||||
:source-map "resources/public/js/worker.js.map"
|
||||
:output-dir "resources/public/js/worker"
|
||||
:asset-path "js"
|
||||
:parallel-build false
|
||||
:optimizations :simple
|
||||
:static-fns true
|
||||
:pretty-print true
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
:pretty-print true
|
||||
:verbose true})
|
||||
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
(let [start (System/nanoTime)]
|
||||
(b/build
|
||||
(b/inputs "src" "vendor")
|
||||
(b/inputs "src")
|
||||
{:main 'uxbox.main
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
(let [start (System/nanoTime)]
|
||||
(b/build
|
||||
(b/inputs "src" "vendor")
|
||||
(b/inputs "src")
|
||||
{:main 'uxbox.view
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
|
@ -15,7 +15,6 @@
|
|||
"https://test.uxbox.io/api"}
|
||||
:optimizations :simple
|
||||
:externs ["externs/main.js"]
|
||||
:source-map "dist/view/js/view.js.map"
|
||||
:static-fns true
|
||||
:pretty-print false
|
||||
:language-in :ecmascript6
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
(let [start (System/nanoTime)]
|
||||
(b/build
|
||||
(b/inputs "src" "vendor")
|
||||
(b/inputs "src")
|
||||
{:main 'uxbox.worker
|
||||
:output-to "dist/js/worker.js"
|
||||
:source-map "dist/js/worker.js.map"
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
:all-builds
|
||||
[{:id "main"
|
||||
:figwheel {:on-jsload "uxbox.main.ui/init"}
|
||||
:source-paths ["src" "vendor"]
|
||||
:source-paths ["src"]
|
||||
:compiler
|
||||
{:main 'uxbox.main
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:closure-defines {"uxbox.common.constants.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
"http://localhost:6060/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
|
@ -27,13 +27,13 @@
|
|||
|
||||
{:id "view"
|
||||
:figwheel {:on-jsload "uxbox.view.ui/init"}
|
||||
:source-paths ["src" "vendor"]
|
||||
:source-paths ["src"]
|
||||
:compiler
|
||||
{:main 'uxbox.view
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:closure-defines {"uxbox.common.constants.url"
|
||||
"https://test.uxbox.io/api"}
|
||||
"http://localhost:6060/api"}
|
||||
:warnings {:ns-var-clash false}
|
||||
:language-in :ecmascript6
|
||||
:language-out :ecmascript5
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
(require '[cljs.build.api :as b])
|
||||
|
||||
(b/watch
|
||||
(b/inputs "dev" "vendor")
|
||||
(b/inputs "dev" "src")
|
||||
{:main 'bench.core
|
||||
:output-to "out/bench.js"
|
||||
:output-dir "out"
|
||||
:output-dir "out/bench"
|
||||
:parallel-build false
|
||||
:optimizations :none
|
||||
:static-fns false
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
(require '[cljs.build.api :as b])
|
||||
|
||||
(b/watch (b/inputs "src" "vendor" "test")
|
||||
(b/watch (b/inputs "src" "test")
|
||||
{:main 'uxbox.tests.main
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
:output-to "out/tests.js"
|
||||
:source-map "out/tests.js.map"
|
||||
:output-dir "out/tests"
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
(require '[cljs.build.api :as b])
|
||||
|
||||
(b/watch
|
||||
(b/inputs "src" "vendor")
|
||||
{:main 'uxbox.worker.main
|
||||
(b/inputs "src")
|
||||
{:main 'uxbox.worker
|
||||
:parallel-build false
|
||||
:warnings {:ns-var-clash false}
|
||||
:output-to "resources/public/js/worker.js"
|
||||
:source-map "resources/public/js/worker.js.map"
|
||||
:output-dir "resources/public/js/worker"
|
||||
:asset-path "js"
|
||||
:parallel-build false
|
||||
:optimizations :simple
|
||||
:static-fns true
|
||||
:language-in :ecmascript6
|
||||
|
|
Loading…
Add table
Reference in a new issue