mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Merge branch 'main' into 2027
This commit is contained in:
@@ -122,6 +122,7 @@ task checkSnippets(type: Task) {
|
||||
}
|
||||
|
||||
task checkCommands(type: Task) {
|
||||
def isCppCommands = project.isCppCommands;
|
||||
doLast {
|
||||
def parsedJson = new groovy.json.JsonSlurper().parseText(commandFile.text)
|
||||
fileCheck(parsedJson, commandDirectory)
|
||||
@@ -132,7 +133,7 @@ task checkCommands(type: Task) {
|
||||
assert it.foldername != null
|
||||
assert it.replacename != null
|
||||
assert it.commandversion != null
|
||||
if (project.isCppCommands) {
|
||||
if (isCppCommands) {
|
||||
assert it.headers != null
|
||||
assert !it.headers.isEmpty()
|
||||
assert it.source != null
|
||||
|
||||
Reference in New Issue
Block a user