Changes between Version 12 and Version 13 of Nl:DevelopersGuide/StyleGuide


Ignore:
Timestamp:
2017-12-07T13:30:25+01:00 (9 days ago)
Author:
DiGro
Comment:

adjusted to revision 34

Legend:

Unmodified
Added
Removed
Modified
  • Nl:DevelopersGuide/StyleGuide

    v12 v13  
    1 [[TranslatedPages(revision=33)]]
     1[[TranslatedPages(revision=34)]]
    22= Richtlijnen voor ontwikkelen =
    33
     
    2828       
    2929{{{
    30     svn diff --summarize | awk '{ print $2 }' | xargs java -jar tools/checkstyle/checkstyle-7.1-all.jar -c tools/checkstyle/josm_checks.xml
     30  #!bash
     31    # make sure build2 dir exists, if it does not run 'ant checkstyle-compile' before
     32
     33    svn diff --summarize | awk '{ print $2 }' | grep "^[a-z]" | xargs \
     34      java -classpath "build2:tools/checkstyle/checkstyle-all.jar" \
     35        com.puppycrawl.tools.checkstyle.Main -c tools/checkstyle/josm_checks.xml
    3136    # or
    32     git diff --name-only | xargs java -jar tools/checkstyle/checkstyle-7.1-all.jar -c tools/checkstyle/josm_checks.xml
     37    git diff --name-only | xargs \
     38      java -classpath "build2:tools/checkstyle/checkstyle-all.jar" \
     39       com.puppycrawl.tools.checkstyle.Main -c tools/checkstyle/josm_checks.xml
    3340}}}
    3441