mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Adds tests to ensure all examples have matching item in json file (#1079)
Also checks that all items in the json file have a matching example One was missing from C++, that example was added (The one in eclipse was completely wrong)
This commit is contained in:
committed by
Peter Johnson
parent
c4728d291e
commit
863cfde394
@@ -193,3 +193,14 @@ model {
|
||||
}
|
||||
}
|
||||
apply from: 'publish.gradle'
|
||||
|
||||
ext {
|
||||
templateDirectory = new File("$projectDir/src/main/cpp/templates/")
|
||||
templateFile = new File("$projectDir/src/main/cpp/templates/templates.json")
|
||||
exampleDirectory = new File("$projectDir/src/main/cpp/examples/")
|
||||
exampleFile = new File("$projectDir/src/main/cpp/examples/examples.json")
|
||||
commandDirectory = new File("$projectDir/src/main/cpp/commands/")
|
||||
commandFile = new File("$projectDir/src/main/cpp/commands/commands.json")
|
||||
}
|
||||
|
||||
apply from: "${rootDir}/shared/examplecheck.gradle"
|
||||
|
||||
Reference in New Issue
Block a user