simplify tests, remove readme injection
This commit is contained in:
11
main.go
11
main.go
@@ -106,9 +106,6 @@ func run() error {
|
||||
if err := tpl.Execute(fplist, info); err != nil {
|
||||
return errors.Wrap(err, "execute Info.plist template")
|
||||
}
|
||||
if err := os.WriteFile(filepath.Join(contentsPath, "README"), []byte(readme), 0666); err != nil {
|
||||
return errors.Wrap(err, "ioutil.WriteFile")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -192,11 +189,3 @@ const infoPlistTemplate = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
</dict>
|
||||
</plist>
|
||||
`
|
||||
|
||||
// readme goes into a README file inside the package for
|
||||
// future reference.
|
||||
const readme = `Made with Appify by Machine Box
|
||||
https://github.com/machinebox/appify
|
||||
|
||||
Inspired by https://gist.github.com/anmoljagetia/d37da67b9d408b35ac753ce51e420132
|
||||
`
|
||||
|
Reference in New Issue
Block a user