Upgrade golangci-lint
ci / lint-test (pull_request) Successful in 6m0s
ci / build (pull_request) Successful in 6m19s

This commit is contained in:
Joe Julian
2026-04-26 16:48:10 -07:00
parent ff81ae633c
commit de19f84305
9 changed files with 415 additions and 369 deletions
+4 -4
View File
@@ -73,16 +73,16 @@ func (c Config) Validate() error {
return fmt.Errorf("ANDROID_NDK_ROOT must point to an Android NDK install")
}
if !isExecutable(filepath.Join(c.SDKRoot, "cmdline-tools", "latest", "bin", "sdkmanager")) {
return fmt.Errorf("Android SDK cmdline-tools are missing")
return fmt.Errorf("android SDK cmdline-tools are missing")
}
if !isDir(filepath.Join(c.SDKRoot, "platforms", "android-"+c.TargetSDK)) {
return fmt.Errorf("Android platform android-%s is missing", c.TargetSDK)
return fmt.Errorf("android platform android-%s is missing", c.TargetSDK)
}
if !isDir(filepath.Join(c.SDKRoot, "build-tools")) {
return fmt.Errorf("Android build-tools are missing")
return fmt.Errorf("android build-tools are missing")
}
if !isFile(c.IconPath) {
return fmt.Errorf("Android icon asset is missing: %s", c.IconPath)
return fmt.Errorf("android icon asset is missing: %s", c.IconPath)
}
return nil
}