File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -53,18 +53,4 @@ include(":feature:bookmarks")
5353include(" :feature:topic" )
5454include(" :lint" )
5555include(" :sync:work" )
56- include(" :sync:sync-test" )
57-
58-
59- val prePushHook = file(" .git/hooks/pre-push" )
60- val commitMsgHook = file(" .git/hooks/commit-msg" )
61- val hooksInstalled = commitMsgHook.exists()
62- && prePushHook.exists()
63- && prePushHook.readBytes().contentEquals(file(" tools/pre-push" ).readBytes())
64-
65- if (! hooksInstalled) {
66- exec {
67- commandLine(" tools/setup.sh" )
68- workingDir = rootProject.projectDir
69- }
70- }
56+ include(" :sync:sync-test" )
Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ NC='\033[0m' # No Color
2020GIT_DIR=$( git rev-parse --git-dir 2> /dev/null)
2121GIT_ROOT=$( git rev-parse --show-toplevel 2> /dev/null)
2222
23- if [[ ! " $GIT_ROOT " =~ /nowinandroid$ ]]; then
24- echo -e " ${RED} ERROR:${NC} Please run this script from the cloned nowinandroid directory."
25- exit 1
26- fi
27-
2823echo " Installing git commit-message hook"
2924echo
3025curl -sSLo " ${GIT_DIR} /hooks/commit-msg" \
You can’t perform that action at this time.
0 commit comments