Skip to content

Commit

Permalink
Skip okbuck if we just want to kill the buck daemon.
Browse files Browse the repository at this point in the history
  • Loading branch information
runningcode committed Apr 18, 2017
1 parent da24efe commit 3aadaae
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion buckw
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
##
## Buck wrapper script to invoke okbuck when needed, before running buck
##
## Created by OkBuck Gradle Plugin on : Wed Mar 29 16:37:26 PDT 2017
## Created by OkBuck Gradle Plugin on : Tue Apr 18 08:44:20 PDT 2017
##
#########################################################################

Expand Down Expand Up @@ -191,6 +191,12 @@ setupBuckRun ( ) {
setupBuckBinary
}
# Do not pass go, do not collect $200 go straight to kill - Skip okbuck if we just want to kill the buck daemon.
if [[ "kill" == "$1" ]];
then
SKIP_OKBUCK=true
fi
setupBuckRun
# Invoke buck binary with arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ setupBuckRun ( ) {
setupBuckBinary
}
# Do not pass go, do not collect $200 go straight to kill - Skip okbuck if we just want to kill the buck daemon.
if [[ "kill" == "$1" ]];
then
SKIP_OKBUCK=true
fi
setupBuckRun
# Invoke buck binary with arguments
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Mar 31 15:13:29 PDT 2017
#Sat Apr 15 01:58:29 PDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-all.zip

0 comments on commit 3aadaae

Please sign in to comment.