-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
46 lines (42 loc) · 1.41 KB
/
build.xml
File metadata and controls
46 lines (42 loc) · 1.41 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
<?xml version="1.0"?>
<project name="boilerplate" default="main" basedir=".">
<description>
Boilerplate
</description>
<!--
********************************
Global properties for this build
********************************
//--><!-- sdfsdfasdfsdffasdf -->
<property name="product.name" value="Boilerplate"/>
<property name="product.shortname" value="boilerplate"/>
<property environment="env"/>
<property name="aws" value="23.23.244.142"/>
<!--
********************************
Tasks for NodeJS
********************************
//-->
<target name="dev"
description="Sync dev build to /var/www/boilerplate/dev">
<exec executable="rsync">
<arg line="-avz --delete --safe-links
--exclude '.git*'
--exclude '.DS*'
--exclude '.*.sw*'
--exclude 'ext'
./bin/dev/ newton@${aws}:/var/www/boilerplate/dev"/>
</exec>
</target>
<target name="prod"
description="Sync dev build to /var/www/boilerplate/prod">
<exec executable="rsync">
<arg line="-avz --delete --safe-links
--exclude '.git*'
--exclude '.DS*'
--exclude '.*.sw*'
--exclude 'ext'
./bin/prod/ newton@${aws}:/var/www/boilerplate/prod"/>
</exec>
</target>
</project>