diff options
author | James Moger <james.moger@gitblit.com> | 2012-01-04 20:15:09 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-01-04 20:15:09 -0500 |
commit | 59ee927b61c3f764254cad79d5e5905ea0ca5b02 (patch) | |
tree | 1d813eaf2c74e39defc4c1314883711b55717d42 | |
parent | 836b117469265beb26e24ff4221aaa6ed64bcdc6 (diff) | |
download | gitblit-59ee927b61c3f764254cad79d5e5905ea0ca5b02.tar.gz gitblit-59ee927b61c3f764254cad79d5e5905ea0ca5b02.zip |
Manually specify which scripts to include in distribution
-rw-r--r-- | build.xml | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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> |