Skip to content

Commit 80022e0

Browse files
committed
Exclude lowlevel appendix from Appveyor
1 parent 3f2cbf7 commit 80022e0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TaggingPlugin implements Plugin<Project> {
2525
if(debug && tags.hasTags()) println tags
2626

2727
// Exclude java sources that will not compile
28-
if (tags.willNotCompile) {
28+
if (tags.willNotCompile || (tags.lowLevelAppendix && runningInAppveyor)) {
2929
project.sourceSets.main.java.excludes.add(file.name)
3030
} else {
3131
JavaExec javaTask = null

buildSrc/src/main/groovy/com/mindviewinc/plugins/Tags.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class Tags {
66
Boolean excludeFromTravisCI = false
77
Boolean excludeFromAppveyorCI = false
88
Boolean excludeFromCI = false
9+
Boolean lowLevelAppendix = false
910
Boolean throwsException = false
1011
Boolean errorOutputExpected = false
1112
Boolean validateByHand = false
@@ -40,6 +41,7 @@ class Tags {
4041
excludeFromTravisCI = hasTag('ExcludeFromTravisCI')
4142
excludeFromAppveyorCI = hasTag('ExcludeFromAppveyorCI')
4243
excludeFromCI = hasTag('ExcludeFromCI')
44+
lowLevelAppendix = firstLine.contains("// lowlevel/")
4345
throwsException = hasTag('ThrowsException')
4446
errorOutputExpected = hasTag('ErrorOutputExpected')
4547
validateByHand = hasTag('ValidateByHand')

0 commit comments

Comments
 (0)