-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.xml
executable file
·31 lines (24 loc) · 1021 Bytes
/
build.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
ANT-based build script for EnlighterJS
@author Andi Dittrich <opensource _AT andidittrich _D_O_T d-e>
@version 1.9
@license The MIT License (X11)
!-->
<project name="EnlighterJS.TinyMCE" basedir=".">
<!-- AN-contrib !-->
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<!-- Release new Website Version !-->
<target name="release">
<!-- Credentials, Host Settings !-->
<loadproperties srcFile=".credentials/account.conf" prefix="deploy" />
<!-- transfer deploy plugin !-->
<echo message="Uploading files" />
<scp todir="${deploy.user}@${deploy.host}:${deploy.path}" trust="true" port="${deploy.port}" keyfile="${user.home}/${deploy.keyfile}" passphrase="${deploy.keyfile.passphrase}">
<fileset dir=".">
<include name="dist/*"/>
<include name="index.html"/>
</fileset>
</scp>
</target>
</project>