Created
April 25, 2016 18:13
-
-
Save mweagle/3d0a8c55366c91ae9fc582e7c299376e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd = exec.Command("go", "build", "-o", executableOutput, "-tags", "lambdabinary", ".") | |
cmd.Env = os.Environ() | |
cmd.Env = append(cmd.Env, "GOOS=linux", "GOARCH=amd64") | |
ctx.logger.WithFields(logrus.Fields{ | |
"Name": executableOutput, | |
}).Info("Compiling binary") | |
err = runOSCommand(cmd, ctx.logger) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment