Mark manifest.[go|js] as a generated file (#57)

manifest.[go|js] files are autogenerated so we dont need to
show diffs, cope with conflicts in merge operations or show the
diff in github.
This commit is contained in:
Mario de Frutos Dieguez 2019-08-14 23:40:52 +02:00 committed by Ben Schumacher
parent e7b5efefc6
commit b7165a0f5f
4 changed files with 12 additions and 2 deletions

View file

@ -10,7 +10,9 @@ import (
"github.com/pkg/errors"
)
const pluginIDGoFileTemplate = `package main
const pluginIDGoFileTemplate = `// This file is automatically generated. Do not modify it manually.
package main
var manifest = struct {
ID string
@ -21,7 +23,9 @@ var manifest = struct {
}
`
const pluginIDJSFileTemplate = `export const id = '%s';
const pluginIDJSFileTemplate = `// This file is automatically generated. Do not modify it manually.
export const id = '%s';
export const version = '%s';
`