Skip to content

Commit

Permalink
Trying to make it buildable by Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
liefeld committed Jul 19, 2023
1 parent a31d3d5 commit 730c27c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 16 deletions.
53 changes: 39 additions & 14 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="create-zip" name="NearestTemplatePrediction">
<property name="dirOffset" value="../"/>
<import file="${dirOffset}/commontargets.xml"/>
<!--
The Broad Institute
SOFTWARE COPYRIGHT NOTICE AGREEMENT
The MIT License (MIT)
<target name="create-zip" depends="init">
<antcall target="prezip"/>
<zip destfile="${dest.dir}/${ant.project.name}.zip" whenempty="fail" defaultexcludes="true">
<fileset dir="." includes="manifest, doc.html" excludes="gpunit/**" />
<fileset dir="gpunit" includes="*.yml"/>
<fileset dir="src">
<include name="*.R"/>
</fileset>
</zip>
<antcall target="postzip"/>
</target>
Copyright (c) 2018-2023 The Regents of the University of California and
the Broad Institute of Harvard and MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<project basedir="" default="create-zip" name="NearestTemplatePrediction">
<property name="dirOffset" value="../common_module_code" />
<import file="${dirOffset}/commontargets.xml" />

<target name="create-zip" depends="init">
<antcall target="prezip"/>
<zip destfile="${dest.dir}/${ant.project.name}.zip" whenempty="fail" defaultexcludes="true">
<fileset dir="." includes="manifest, paramgroups.json, LICENSE, Dockerfile"/>
<fileset dir="." includes="*.sh"/>
<fileset dir="." includes="*.html"/>
<fileset dir="." includes="*.R"/>
</zip>
<antcall target="postzip"/>
</target>

</project>
4 changes: 2 additions & 2 deletions manifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fileFormat=gct;png;txt;xls;cls
language=R-3.1.3
name=NearestTemplatePrediction
os=any

documentationUrl=https://www.genepattern.org/modules/docs/NearestTemplatePrediction/4#gsc.tab=0
p1_MODE=IN
p1_TYPE=FILE
p1_default_value=
Expand Down Expand Up @@ -95,4 +95,4 @@ requiredPatchURLs=
serializedModel=
taskType=Prediction
userid=hoshida@broad.mit.edu
version=Updated to use R-3.1 and added HTML documentation.
version=Updated to use R-3.1 and added HTML documentation.

0 comments on commit 730c27c

Please sign in to comment.