mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Merge 393b09361e into 3913106b2e
This commit is contained in:
commit
3ea05be1d4
1 changed files with 3 additions and 2 deletions
|
|
@ -54,13 +54,14 @@ function in_gradle() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
############################################################################## Examine the build.gradle file to see if its
|
##############################################################################
|
||||||
|
# Examine the build.gradle file to see if its
|
||||||
# timestamp has changed, and if so, regen
|
# timestamp has changed, and if so, regen
|
||||||
# the .gradle_tasks cache file
|
# the .gradle_tasks cache file
|
||||||
############################################################################
|
############################################################################
|
||||||
_gradle_does_task_list_need_generating () {
|
_gradle_does_task_list_need_generating () {
|
||||||
[ ! -f .gradletasknamecache ] && return 0;
|
[ ! -f .gradletasknamecache ] && return 0;
|
||||||
[ .gradletasknamecache -nt build.gradle ] && return 0;
|
[ build.gradle -nt .gradletasknamecache ] && return 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue