aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gen_powershell_completion.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-06-14 21:52:11 +0200
committerMichael Muré <batolettre@gmail.com>2020-06-14 22:26:47 +0200
commit6352d6aa2338f47cd8b60631dec5f4161d9d92ec (patch)
treeaac41ac96197ddcd33453ea4ab89e36e891d69a7 /misc/gen_powershell_completion.go
parent78f39c40778b31de63710cc022ff491c2e4586a7 (diff)
downloadgit-bug-6352d6aa2338f47cd8b60631dec5f4161d9d92ec.tar.gz
generate docs and completion concurrently for a faster "make"
Diffstat (limited to 'misc/gen_powershell_completion.go')
-rw-r--r--misc/gen_powershell_completion.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/misc/gen_powershell_completion.go b/misc/gen_powershell_completion.go
deleted file mode 100644
index c2766399..00000000
--- a/misc/gen_powershell_completion.go
+++ /dev/null
@@ -1,24 +0,0 @@
-// +build ignore
-
-package main
-
-import (
- "fmt"
- "log"
- "os"
- "path"
-
- "github.com/MichaelMure/git-bug/commands"
-)
-
-func main() {
- cwd, _ := os.Getwd()
- filepath := path.Join(cwd, "misc", "powershell_completion", "git-bug")
-
- fmt.Println("Generating PowerShell completion file ...")
-
- err := commands.RootCmd.GenPowerShellCompletionFile(filepath)
- if err != nil {
- log.Fatal(err)
- }
-}