Skip to content

Commit

Permalink
Created a simple build script to generate a zip of all the source files
Browse files Browse the repository at this point in the history
  • Loading branch information
jlamoree committed Oct 10, 2013
1 parent a06c69c commit e25cb2d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>

<project default="dist" basedir=".">

<property name="project.name" value="mock-ii"/>
<property name="project.version" value="0.0"/>
<property name="project.src" location="src"/>
<property name="project.dist" location="dist"/>

<target name="dist">
<property name="archive" value="${project.dist}/${project.name}-${project.version}.zip"/>
<delete file="${archive}"/>
<zip destfile="${archive}" basedir="${project.src}"/>
</target>

</project>
1 change: 1 addition & 0 deletions dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.zip

0 comments on commit e25cb2d

Please sign in to comment.