Cleaned clj script

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
Julien Eluard 2018-03-28 14:43:11 +02:00
parent 37d0ea12ce
commit 7d604b2042
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
3 changed files with 10 additions and 4 deletions

4
.gitignore vendored
View File

@ -104,3 +104,7 @@ fastlane/report.xml
fastlane/Preview.html fastlane/Preview.html
fastlane/screenshots fastlane/screenshots
fastlane/README.md fastlane/README.md
# Clj
.cpcache/

View File

@ -1,5 +1,7 @@
(require '[cljs.build.api :as api] (require '[cljs.build.api :as api]
'[clojure.string :as cstr]) '[clojure.string :as string])
;; clj build.clj help # Prints details about tasks
;;; Configuration. ;;; Configuration.
@ -165,7 +167,7 @@
(println) (println)
(->> usage (->> usage
(map #(str " " %)) (map #(str " " %))
(cstr/join "\n") (string/join "\n")
println) println)
(println)))) (println))))
@ -215,7 +217,7 @@
(ra/start-figwheel! (ra/start-figwheel!
{:figwheel-options (cond-> {:builds-to-start (if build-ids {:figwheel-options (cond-> {:builds-to-start (if build-ids
(->> (.split build-ids ",") (->> (.split build-ids ",")
(map (comp keyword cstr/trim)) (map (comp keyword string/trim))
vec) vec)
[:android])} [:android])}
port (merge {:nrepl-port (some-> port Long/parseLong) port (merge {:nrepl-port (some-> port Long/parseLong)

View File

@ -8,7 +8,7 @@
com.andrewmcveigh/cljs-time {:mvn/version "0.5.2"} com.andrewmcveigh/cljs-time {:mvn/version "0.5.2"}
com.taoensso/timbre {:mvn/version "4.10.0"} com.taoensso/timbre {:mvn/version "4.10.0"}
hickory {:mvn/version "0.7.1"} hickory {:mvn/version "0.7.1"}
com.cognitect/transit-cljs {:mvn/version "0.8.243"}} com.cognitect/transit-cljs {:mvn/version "0.8.248"}}
:aliases :aliases
{:repl {:extra-deps {:repl {:extra-deps