adds a filter to pre-commit hook to prevent analysis of deleted files
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
parent
955fdc6c17
commit
1f4f913ac6
|
@ -16,7 +16,7 @@
|
|||
[lein-cljfmt "0.5.7"]
|
||||
[rasom/lein-githooks "0.1.3"]]
|
||||
:githooks {:auto-install true
|
||||
:pre-commit ["lein cljfmt check src/status_im/core.cljs $(git diff --cached --name-only src test/cljs)"]}
|
||||
:pre-commit ["lein cljfmt check src/status_im/core.cljs $(git diff --diff-filter=d --cached --name-only src test/cljs)"]}
|
||||
:cljfmt {:indents {letsubs [[:inner 0]]}}
|
||||
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
||||
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
||||
|
|
Loading…
Reference in New Issue