Some tweaks required for 1.0.1 release.
authorSalim Fadhley <sal@stodge.org>
Wed, 8 Feb 2012 23:52:23 +0000 (23:52 +0000)
committerSalim Fadhley <sal@stodge.org>
Wed, 8 Feb 2012 23:52:23 +0000 (23:52 +0000)
build.properties [new file with mode: 0644]
build.xml [new file with mode: 0644]

diff --git a/build.properties b/build.properties
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/build.xml b/build.xml
new file mode 100644 (file)
index 0000000..96b4e6e
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="jenkinsapi" default="all">
+       <property file="build.properties" />
+
+       <target name="all" depends="clean, compile" />
+
+       <target name="clean">
+
+               <delete failonerror="false">
+                       <fileset dir="build" />
+               </delete>
+
+               <delete failonerror="false">
+                       <fileset dir="dist" />
+               </delete>
+       </target>
+
+       <target name="compile" depends="sdist,bdist_egg_26,bdist_egg_27,bdist_wininst_27" />
+
+       <target name="sdist">
+               <exec executable="python">
+                       <arg value="setup.py" />
+                       <arg value="sdist" />
+               </exec>
+       </target>
+       
+       <target name="bdist_egg_26">
+                       <exec executable="python2.6">
+                               <arg value="setup.py" />
+                               <arg value="bdist_egg" />
+                               <arg value="upload" />
+                       </exec>
+       </target>
+       
+       <target name="bdist_egg_27">
+                               <exec executable="python2.7">
+                                       <arg value="setup.py" />
+                                       <arg value="bdist_egg" />
+                       </exec>
+       </target>
+       
+       <target name="bdist_wininst_27">
+                                       <exec executable="python2.6">
+                                               <arg value="setup.py" />
+                                               <arg value="bdist_wininst" />
+                               </exec>
+               </target>
+
+</project>
\ No newline at end of file