summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-01-04 20:15:09 -0500
committerJames Moger <james.moger@gitblit.com>2012-01-04 20:15:09 -0500
commit59ee927b61c3f764254cad79d5e5905ea0ca5b02 (patch)
tree1d813eaf2c74e39defc4c1314883711b55717d42
parent836b117469265beb26e24ff4221aaa6ed64bcdc6 (diff)
downloadgitblit-59ee927b61c3f764254cad79d5e5905ea0ca5b02.tar.gz
gitblit-59ee927b61c3f764254cad79d5e5905ea0ca5b02.zip
Manually specify which scripts to include in distribution
-rw-r--r--build.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index 3fe65ef9..c7040463 100644
--- a/build.xml
+++ b/build.xml
@@ -197,11 +197,12 @@
<param name="docs.output.dir" value="${project.deploy.dir}/docs" />
</antcall>
- <!-- Copy the sample Groovy hook scripts -->
+ <!-- Copy the supported Groovy hook scripts -->
<mkdir dir="${project.deploy.dir}/groovy" />
<copy todir="${project.deploy.dir}/groovy">
<fileset dir="${basedir}/groovy">
- <include name="**/*" />
+ <include name="sendmail.groovy" />
+ <include name="jenkins.groovy" />
</fileset>
</copy>
@@ -364,11 +365,12 @@
<param name="docs.output.dir" value="${project.war.dir}/WEB-INF/docs" />
</antcall>
- <!-- Copy the sample Groovy hook scripts -->
+ <!-- Copy the supported Groovy hook scripts -->
<mkdir dir="${project.war.dir}/WEB-INF/groovy" />
<copy todir="${project.war.dir}/WEB-INF/groovy">
<fileset dir="${basedir}/groovy">
- <include name="**/*" />
+ <include name="sendmail.groovy" />
+ <include name="jenkins.groovy" />
</fileset>
</copy>
@@ -951,4 +953,4 @@
<delete dir="${project.war.dir}" />
<delete dir="${project.deploy.dir}" />
</target>
-</project>
+</project>