cli/pkg/cmd/extension/ext_tmpls
Mislav Marohnić a65b9a3831 💅 simplify filesystem operations while creating extensions
- doing mkdir before `git init <dir>` is not necessary; git will
  create the directory if it doesn't exist
- passing both `-C` and `--git-dir` is not needed for git invocations
- reading the current working directory isn't necessary for specifying
  nested paths to operate in
- use `git add .` instead of explicitly naming all paths; we generate a
  gitignore for binaries that we want to avoid adding
- generate cross-platform gitignore for Go binary extensions
- add helpers to simplify writing files, tests
2021-11-24 13:46:36 +01:00
..
buildScript.sh Add newlines to generated files 2021-11-24 11:59:00 +01:00
goBinMain.go.txt Add newlines to generated files 2021-11-24 11:59:00 +01:00
goBinWorkflow.yml Add newlines to generated files 2021-11-24 11:59:00 +01:00
otherBinWorkflow.yml Add newlines to generated files 2021-11-24 11:59:00 +01:00
script.sh 💅 simplify filesystem operations while creating extensions 2021-11-24 13:46:36 +01:00