Skip to content

Commit 22d7b8f

Browse files
committed
Updated Logging and Versions
Also normalized some of the package.json contents. Still can't resolve the react-color issues with tinycolor2.
1 parent abfe92c commit 22d7b8f

32 files changed

+352
-374
lines changed

.travis.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,10 @@ install:
8383
# Build and packaging
8484
script:
8585
# Build clojure target
86-
- boot prod-build
87-
88-
# Example deployment file
89-
- mkdir -p output
86+
- npm run build:prod
9087

9188
# Build electron binary
92-
- ./node_modules/.bin/build --publish onTagOrDraft
89+
- npm run dist -- --publish onTagOrDraft
9390

9491
## Deploy release
9592
#deploy:
@@ -105,7 +102,7 @@ script:
105102
# repo: kiibohd/configurator
106103

107104

108-
# Post test script commands
109-
after_script:
110-
- tree output
105+
## Post test script commands
106+
#after_script:
107+
# - tree output
111108

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ TODO - Description
2828

2929
### Requirements
3030

31-
* node 7.2
31+
* node 8.7
3232
* jdk 1.8
3333
* [boot 2.7.2](https://github.com/boot-clj/boot)
3434

@@ -39,9 +39,9 @@ TODO - Description
3939
* build-essential
4040

4141
```bash
42-
npm install electron electron-rebuild --save-dev --save-exact
43-
npm run res-install
44-
boot prod-build
42+
npm install
43+
npm run build:prod
44+
npm start
4545
```
4646

4747

@@ -50,9 +50,9 @@ boot prod-build
5050
* libusb
5151

5252
```bash
53-
npm install electron electron-rebuild --save-dev --save-exact
54-
npm run res-install
55-
CXX=clang++ boot prod-build
53+
npm install
54+
CXX=clang++ npm run build:prod
55+
npm start
5656
```
5757

5858

@@ -68,8 +68,8 @@ choco install python python2 nodejs boot-clj
6868
```
6969

7070
```bash
71-
npm install electron electron-rebuild --save-dev --save-exact
72-
npm run res-install
73-
boot prod-build
71+
npm install
72+
npm run build:prod
73+
npm start
7474
```
7575

appveyor.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,10 @@ install:
5050

5151
# Build Commands
5252
build_script:
53-
- boot prod-build
54-
55-
# Example deployment file
56-
- mkdir -p output
53+
- npm run build:prod
5754

5855
# Build electron binary
59-
- ./node_modules/.bin/build --%ARCH% --publish onTagOrDraft
56+
- npm run dist -- --%ARCH% --publish onTagOrDraft
6057

6158
## Deployment Artifacts
6259
#artifacts:

boot.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#https://github.com/boot-clj/boot
22
#Fri Jul 31 00:07:27 CEST 2015
3-
BOOT_CLOJURE_VERSION=1.9.0-beta1
3+
BOOT_CLOJURE_VERSION=1.9.0-beta2
44
BOOT_VERSION=2.7.2

build.boot

+19-23
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'[boot.task.built-in :refer :all])
33

44
(task-options!
5-
pom {:project 'configurator
5+
pom {:project 'kiibohd-configurator
66
:version "0.1"
77
:description "Input:Club Configuration Utility"
88
:license {"GPLv3" "https://www.gnu.org/licenses/gpl-3.0.en.html"}})
@@ -11,35 +11,36 @@
1111

1212
(set-env!
1313
:dependencies
14-
'[[org.clojure/clojure "1.9.0-beta1" :scope "provided"]
14+
'[[org.clojure/clojure "1.9.0-beta2" :scope "provided"]
1515
[org.clojure/clojurescript "1.9.946" :scope "compile"]
1616
;; Boot Deps
1717
[boot/core "2.7.2" :scope "provided"]
1818
[onetom/boot-lein-generate "0.1.3" :scope "test"]
19-
[org.clojure/tools.nrepl "0.2.12" :scope "test"]
20-
[com.cemerick/piggieback "0.2.1" :scope "test"]
19+
[org.clojure/tools.nrepl "0.2.13" :scope "test"]
20+
[com.cemerick/piggieback "0.2.2" :scope "test"]
2121
[weasel "0.7.0" :scope "test"]
22-
[adzerk/boot-cljs "2.1.3" :scope "test"]
22+
[adzerk/boot-cljs "2.1.4" :scope "test"]
2323
[adzerk/boot-cljs-repl "0.3.3" :scope "test"]
2424
[adzerk/boot-reload "0.5.2" :scope "test"]
2525
;; Dev tools enhancements
26-
[binaryage/devtools "0.9.4" :scope "test"]
27-
[binaryage/dirac "1.2.10" :scope "test"]
26+
[binaryage/devtools "0.9.7" :scope "test"]
27+
[binaryage/dirac "1.2.17" :scope "test"]
2828
[powerlaces/boot-cljs-devtools "0.2.0" :scope "test"]
2929
;; Project Dependencies
3030
[reagent "0.7.0" :exclusions [org.clojure/tools.reader cljsjs/react]]
31-
[re-frame "0.10.1"]
31+
[re-frame "0.10.2"]
3232
[day8.re-frame/undo "0.3.2"]
33-
[cljsjs/react "15.6.1-2"]
34-
[cljsjs/react-dom "15.6.1-2"]
33+
[cljsjs/react "15.6.2-0"]
34+
[cljsjs/react-dom "15.6.2-0"]
3535
[cljsjs/react-transition-group "2.2.0-0"]
3636
[cljs-react-material-ui "0.2.50"]
3737
[cljs-css-modules "0.2.1"]
38-
[cljs-ajax "0.5.8"]
38+
[cljs-ajax "0.7.2"]
3939
[camel-snake-kebab "0.4.0"]
4040
[cljsjs/tinycolor "1.3.0-0"]
4141
[cljsjs/react-color "2.13.1-0"]
4242
[funcool/cuerdas "2.0.4"]
43+
[com.taoensso/timbre "4.10.0"]
4344
]
4445
:source-paths #{"src"}
4546
;;:asset-paths #{"assets"}
@@ -61,13 +62,10 @@
6162
(cljs :ids #{"renderer"}
6263
;; TODO -Some odd munging happening in advanced mode.
6364
:optimizations :none ;:advanced
64-
:compiler-options {:load-tests false
65-
:npm-deps {:react "15.6.1"
66-
; :tinycolor2 "1.3.0"
67-
:react-color "2.13.8"}
68-
:install-deps true
69-
})
70-
(target :dir #{"target"})))
65+
:compiler-options {:load-tests false})
66+
;; Right now an npm-install will call a naked `target` call clearing everything
67+
;; until a good method for npm dependencies is found this will have to do for now.
68+
(target :no-clean true)))
7169

7270
(def devtools-config
7371
{:features-to-install [:formatters :hints :async]
@@ -91,10 +89,6 @@
9189
;; Compile renderer =========================================
9290
(cljs :ids #{"renderer"}
9391
:compiler-options {:closure-defines {'kii.env/dev? true}
94-
:npm-deps {:react "15.6.1"
95-
; :tinycolor2 "1.3.0"
96-
:react-color "2.13.8"}
97-
:install-deps true
9892
:output-wrapper true
9993
; There's a little funny business going on with exporting other ns vars
10094
; to reduce the proliferation of imports for small components so the
@@ -113,4 +107,6 @@
113107
:compiler-options {:asset-path "target/main.out"
114108
:closure-defines {'kii.env/dev? true}
115109
})
116-
(target)))
110+
;; Right now an npm-install will call a naked `target` call clearing everything
111+
;; until a good method for npm dependencies is found this will have to do for now.
112+
(target :no-clean true)))

0 commit comments

Comments
 (0)