mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 10:16:01 +00:00
add cljfmt to project;
add pre-push hook; add cljfmt to Jenkinsfile;
This commit is contained in:
parent
3af05bcb6c
commit
8f1c9521ba
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -40,6 +40,10 @@ node ('macos1') {
|
||||
sh 'cd ios && pod install && cd ..'
|
||||
}
|
||||
|
||||
stage('Code style checks') {
|
||||
sh 'lein cljfmt check'
|
||||
}
|
||||
|
||||
stage('Tests') {
|
||||
sh 'lein test-cljs'
|
||||
}
|
||||
|
@ -13,7 +13,12 @@
|
||||
[com.cognitect/transit-cljs "0.8.248"]
|
||||
[day8.re-frame/async-flow-fx "0.0.10"]]
|
||||
:plugins [[lein-cljsbuild "1.1.7"]
|
||||
[lein-re-frisk "0.5.8"]]
|
||||
[lein-re-frisk "0.5.8"]
|
||||
[lein-cljfmt "0.5.7"]
|
||||
[lein-githooks "0.1.0"]]
|
||||
:githooks {:auto-install true
|
||||
:pre-commit ["lein cljfmt check"]}
|
||||
:cljfmt {:indents {letsubs [[:inner 0]]}}
|
||||
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
||||
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
||||
["do" "clean"
|
||||
|
Loading…
x
Reference in New Issue
Block a user