summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-05-14 17:54:17 +0200
committerParménides GV <parmegv@sdf.org>2014-05-14 17:54:17 +0200
commitdac8d8e2fa1317091686a66b29763b2e33537255 (patch)
tree1e42592b1e4a232a53527503c6cd330f3c389110
parent2fafdddda7d1530b227f0c6b858473eb06ccffd8 (diff)
Pull before updating ics-openvpn hg repository
-rw-r--r--build.gradle7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 85eb20e0..2103b009 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,12 @@ task cloneIcsOpenVPN( type: HgClone ) {
workingDir = '.'
}
-task updateIcsOpenVPN( type: HgUpdate ) {
+task updateIcsOpenVPN( type: HgUpdate, dependsOn: 'pullIcsOpenVPN' ) {
workingDir = 'ics-openvpn'
branch = 'default'
+}
+
+task pullIcsOpenVPN( type: HgPull ) {
+ sourceUrl = 'https://code.google.com/p/ics-openvpn/'
+ workingDir = 'ics-openvpn'
} \ No newline at end of file