Validate the manifest.webpackage file
Last updated
Last updated
As you may know, the manifest.webpackage
file must follow a JSON schema according to its model version. The CDT offers you the +webpackage-validateManifestFile
task to validate the manifest of your current webpackage automatically.
Note that the manifest is validated before being uploaded, and if it is not valid the upload will be interrupted.
To show how to validate the manifest of a webpackage using the +webpackage-validateManifestFile` task.
You should run the task within the CDT folder (normally it is called devtools) as follows:
If the manifest has errors, those will be prompted. Otherwise, you will get a message similar to the one below:
grunt +webpackage-validateManifestFile
Done, without errors.