Various tooling improvements from other plugins (#96)
This commit is contained in:
parent
c557d38b4d
commit
a49d6f6dd4
14 changed files with 693 additions and 201 deletions
|
@ -127,7 +127,7 @@ func applyManifest(manifest *model.Manifest) error {
|
|||
if err := ioutil.WriteFile(
|
||||
"server/manifest.go",
|
||||
[]byte(fmt.Sprintf(pluginIDGoFileTemplate, manifestStr)),
|
||||
0644,
|
||||
0600,
|
||||
); err != nil {
|
||||
return errors.Wrap(err, "failed to write server/manifest.go")
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ func applyManifest(manifest *model.Manifest) error {
|
|||
if err := ioutil.WriteFile(
|
||||
"webapp/src/manifest.js",
|
||||
[]byte(fmt.Sprintf(pluginIDJSFileTemplate, manifestStr)),
|
||||
0644,
|
||||
0600,
|
||||
); err != nil {
|
||||
return errors.Wrap(err, "failed to open webapp/src/manifest.js")
|
||||
}
|
||||
|
|
Reference in a new issue