Exclude lowlevel appendix from Appveyor

This commit is contained in:
Bruce Eckel 2017-05-04 04:49:09 -06:00
parent 3f2cbf7a23
commit 80022e09bd
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class TaggingPlugin implements Plugin<Project> {
if(debug && tags.hasTags()) println tags
// Exclude java sources that will not compile
if (tags.willNotCompile) {
if (tags.willNotCompile || (tags.lowLevelAppendix && runningInAppveyor)) {
project.sourceSets.main.java.excludes.add(file.name)
} else {
JavaExec javaTask = null

View File

@ -6,6 +6,7 @@ class Tags {
Boolean excludeFromTravisCI = false
Boolean excludeFromAppveyorCI = false
Boolean excludeFromCI = false
Boolean lowLevelAppendix = false
Boolean throwsException = false
Boolean errorOutputExpected = false
Boolean validateByHand = false
@ -40,6 +41,7 @@ class Tags {
excludeFromTravisCI = hasTag('ExcludeFromTravisCI')
excludeFromAppveyorCI = hasTag('ExcludeFromAppveyorCI')
excludeFromCI = hasTag('ExcludeFromCI')
lowLevelAppendix = firstLine.contains("// lowlevel/")
throwsException = hasTag('ThrowsException')
errorOutputExpected = hasTag('ErrorOutputExpected')
validateByHand = hasTag('ValidateByHand')