Ignore:
Timestamp:
Sep 21, 2017, 1:59:48 PM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, debian/jessie
Children:
6b3dd00
Parents:
949f66d (diff), 3145648 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
  • Merge branch 'master' into debian/jessie
  • Adapted debian files
    • control
      • python packages are architecture all now (thanks to Herbert)
      • added gpsbabel as runtime dependency for gnuboat (gnuboat-log-converter needs it to create GPX files)
    • source/options: Ignores egg-info now
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/build.xml

    r949f66d r944372e  
    2828                        <exclude name="mbtiles/**"/>
    2929                        <exclude name="tests/**"/>
     30                        <exclude name="config/**"/>
    3031                </fileset>
    3132                <fileset dir="./webservice/mbtiles" id="filesWebserviceMaps">
    … …  
    4445
    4546
    46         <target name="dist" depends="buildwebservice,buildwebclient">
     47        <target name="dist" depends="buildwebservice,buildwebclient,test">
    4748                <echo msg="Creating archive"/>
    48         <!--    <tar destfile="${builddir}/..//gnuboat-webapp.tar.gz" compression="gzip">
     49                <tar destfile="${builddir}/..//gnuboat-webapp.tar.gz" compression="gzip">
    4950                        <fileset refid="filesWebApp"/>
    50                 </tar>-->
     51                </tar>
    5152                <echo msg="Files copied and compressed in build directory weblcient.tar.gz OK!" />
    5253        </target>
    53         <target name="testdist" depends="buildwebservice,buildwebclient">
     54
     55        <target name="testdist" depends="buildwebservice,buildwebclient,test">
    5456                <echo msg="Install project into ${user.home}/public_html/gnuboat"/>
     57                <fileset id="filesConfig" dir="./webservice/config">
     58                        <include name="config.php"/>
     59                </fileset>
     60                <fileset id="filesLogs" dir="./webservice/tests/logs">
     61                        <include name="*.log"/>
     62                </fileset>
     63       
    5564                <copy todir="${user.home}/public_html/gnuboat">
    5665                        <fileset refid="filesWebApp"/>
    5766                </copy>
     67                <copy todir="${user.home}/public_html/gnuboat/webservice/tests/logs">
     68                        <fileset refid="filesLogs"/>
     69                </copy>
     70                <copy todir="${user.home}/public_html/gnuboat/webservice/config">
     71                        <fileset refid="filesConfig"/>
     72                </copy>
    5873        </target>
    5974
    60         <!-- <phpunit bootstrap="webservice/inc/autoloader.php" pharlocation="phpunit-4.8.9.phar" haltonfailure="true" haltonerror="true" printsummary="true">
    61                 <formatter type="plain" usefile="false"/>
    62                 <batchtest>
    63                         <fileset dir="webservice">
    64                                 <include name="tests/ServiceTest.php"/>
    65                         </fileset>
    66                 </batchtest>
    67         </phpunit> -->
     75        <target name="test">
     76                <exec command="php phpunit-4.8.9.phar" passthru="true" checkreturn="true"/>
     77                <!--<phpunit pharlocation="phpunit-4.8.9.phar" configuration="phpunit.xml" haltonfailure="true" haltonerror="true" printsummary="true" codecoverage="false">
     78                        <formatter type="plain" usefile="false"/> -->
     79                        <!--<formatter type="JUnit" usefile="true"/>-->
     80<!--                    <batchtest>
     81                                <fileset dir="webservice">
     82                                        <include name="tests/*Test.php"/>
     83                                </fileset>
     84                        </batchtest>
     85                </phpunit>-->
     86        </target>
    6887</project>
Note: See TracChangeset for help on using the changeset viewer.