[MM-57855] Add manifest validation step (#198)
This commit is contained in:
parent
cb94a72744
commit
4e15acf566
2 changed files with 11 additions and 1 deletions
|
@ -86,6 +86,11 @@ func main() {
|
|||
panic("failed to write manifest to dist directory: " + err.Error())
|
||||
}
|
||||
|
||||
case "check":
|
||||
if err := manifest.IsValid(); err != nil {
|
||||
panic("failed to check manifest: " + err.Error())
|
||||
}
|
||||
|
||||
default:
|
||||
panic("unrecognized command: " + cmd)
|
||||
}
|
||||
|
|
Reference in a new issue