diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-11-26 16:25:27 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-11-26 16:25:41 +0100 |
commit | 538bba477414e90e8d164903997cbfd8a90682dd (patch) | |
tree | 12d297243e8ff1ad8661d8bb2e8937269a421b25 | |
parent | a434e73a632e9e79892c06a983112dfc97280b61 (diff) |
remove unused variables and functions
-rw-r--r-- | cmd/mt-build-plugin/build.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/cmd/mt-build-plugin/build.go b/cmd/mt-build-plugin/build.go index 1a92fb0..1ce4f21 100644 --- a/cmd/mt-build-plugin/build.go +++ b/cmd/mt-build-plugin/build.go @@ -9,29 +9,12 @@ package main import ( "log" - "os" - "os/exec" proxy "github.com/HimbeerserverDE/mt-multiserver-proxy" ) func main() { - version, ok := proxy.Version() - if !ok { - log.Fatal("unable to retrieve proxy version") - } - if err := proxy.BuildPlugin(); err != nil { log.Fatal(err) } } - -func goCmd(args ...string) error { - cmd := exec.Command("go", args...) - - cmd.Stdin = os.Stdin - cmd.Stdout = os.Stdout - cmd.Stderr = os.Stderr - - return cmd.Run() -} |