diff options
| author | Christine Dodrill <me@christine.website> | 2017-12-13 11:42:17 -0800 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2017-12-13 11:42:37 -0800 |
| commit | f2302488aa0a2b86b42bf16a185312add2793676 (patch) | |
| tree | 02d7e5ef25415f90e91cbc627c7d7423064b22d5 /mage_helpers.go | |
| parent | 43dba08659657c823dac01afbdedab7a87b41d15 (diff) | |
| download | xesite-f2302488aa0a2b86b42bf16a185312add2793676.tar.xz xesite-f2302488aa0a2b86b42bf16a185312add2793676.zip | |
box+mage: cleanup
Diffstat (limited to 'mage_helpers.go')
| -rw-r--r-- | mage_helpers.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/mage_helpers.go b/mage_helpers.go index 8b876ab..08c4526 100644 --- a/mage_helpers.go +++ b/mage_helpers.go @@ -7,7 +7,6 @@ import ( "log" "os" "os/exec" - "runtime" "strings" "github.com/jtolds/qod" @@ -74,13 +73,3 @@ func goBuild(ctx context.Context, env []string, dir string, pkgname string) { func goInstall(ctx context.Context, env []string, pkgname string) { shouldWork(ctx, nil, wd, "go", "install", pkgBase+pkgname) } - -func goBuildPlugin(ctx context.Context, dir, pkgname, fname string) { - if runtime.GOOS != "linux" { - qod.Printlnf("plugins don't work on non-linux machines yet :(") - return - } - - shouldWork(ctx, nil, dir, "go", "build", "-v", "-buildmode=plugin", "-o="+fname, pkgBase+pkgname) - qod.Printlnf("built %s for %s", fname, runtime.GOOS) -} |
