Changeset 15816 in josm


Ignore:
Timestamp:
2020-02-05T20:24:51+01:00 (3 weeks ago)
Author:
simon04
Message:

ant checkstyle-changed: support Git repository on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r15797 r15816  
    943943        <exec append="false" osfamily="unix" executable="bash" failifexecutionfails="true">
    944944            <arg value="-c"/>
    945             <arg value="svn status -q --ignore-externals src test | grep -o '\(src\|test\)/.*' | xargs java -cp '${checkstyle.dir}/checkstyle-all.jar:${checkstyle-build.dir}' com.puppycrawl.tools.checkstyle.Main -c ${checkstyle.dir}/josm_checks.xml | sed -e 's:\([^ ]*\) [^:]*/\([^:/]*.java\:[^:]*\):(\2)\1:'"/>
     945            <arg value="(git ls-files src test --modified 2>/dev/null || svn status -q --ignore-externals src test) | grep -o '\(src\|test\)/.*' | xargs java -cp '${checkstyle.dir}/checkstyle-all.jar:${checkstyle-build.dir}' com.puppycrawl.tools.checkstyle.Main -c ${checkstyle.dir}/josm_checks.xml | sed -e 's:\([^ ]*\) [^:]*/\([^:/]*.java\:[^:]*\):(\2)\1:'"/>
    946946        </exec>
    947947        <exec append="false" osfamily="windows" executable="powershell" failifexecutionfails="true">
Note: See TracChangeset for help on using the changeset viewer.