Files
flutter-docker-image/config/android.cue
T
Eligio Mariño 7f4a0ab4c4 build: replace yq with cue to reduce tool dependencies (#296)
`cue` can generate a YAML file and parse a JSON file. Let's use it instead of `yq`. The same thing might be possible for `jq`.
2025-03-02 10:33:00 +01:00

30 lines
727 B
CUE

#FileContentTests: {
name: string
path: _
expectedContents: [string]
}
#ContainerStructureTest: {
schemaVersion: _
commandTests: _
fileContentTests: [...#FileContentTests]
}
input: #ContainerStructureTest
android_cmdline_tools_version: string @tag(android_cmdline_tools_version)
android_cmdline_tools_test_expected_content: string @tag(android_cmdline_tools_test_expected_content)
output: {
schemaVersion: input.schemaVersion
commandTests: input.commandTests
fileContentTests: [
{
name: "Android SDK Command-line Tools is version \(android_cmdline_tools_version)"
path: input.fileContentTests[0].path
expectedContents: [android_cmdline_tools_test_expected_content]
},
input.fileContentTests[1]
]
}