-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.helpers.example.xml
More file actions
48 lines (40 loc) · 2.29 KB
/
build.helpers.example.xml
File metadata and controls
48 lines (40 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<project name="helpers" default="help">
<!-- ============================================= -->
<!-- Target: tunnel -->
<!-- ============================================= -->
<target name="tunnel" depends="tunnel.phingistrano.conf,tunnel.open" />
<target name="tunnel.phingistrano.conf" >
<property name="tunnel.gateway" value="204.99.99.99" />
<property name="tunnel.id" value="GroupId" />
<property name="tunnel.secret" value="mySecret" />
<property name="tunnel.username" value="jesse" />
<property name="tunnel.password" value="jiveturkey" />
<property name="tunnel.confpath" value="${project.basedir}/tmp.conf" />
<property name="tunnel.client" value="/usr/sbin/vpnc-connect" />
<property name="tunnel.execline" value="sudo ${tunnel.client} ${tunnel.confpath}" />
<property name="tunnel.configured" value="true" override="true" />
</target>
<target name="restart.memcached"
depends="deploy.memcachedump"
description="Restarts the memcached on production" />
<target name="restart.memcached.staging"
depends="staging.properties, deploy.memcachedump"
description="Restarts the memcached on staging" />
<target name="remote.production"
depends="deploy.remote"
description="Interactive prompt to execute a command on the production server" />
<target name="remote.staging"
depends="staging.properties, deploy.remote"
description="Interactive prompt to execute a command on the staging server" />
<!-- target shortcuts -->
<target name="test" depends="test.do" />
<target name="docs" depends="docs.do" />
<target name="sniff" depends="sniff.do" />
<target name="staging" depends="deploy.staging" />
<target name="production" depends="deploy.production" />
<target name="checkout.develop" depends="version.checkoutdevelop" />
<target name="checkout.master" depends="version.checkoutmaster" />
<target name="git.pull" depends="version.pull" />
<target name="snack" ><echo>nom nom nom...</echo></target>
</project>