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:
parent
e7b5efefc6
commit
b7165a0f5f
4 changed files with 12 additions and 2 deletions
|
@ -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';
|
||||
`
|
||||
|
||||
|
|
Reference in a new issue