Skip to content
Snippets Groups Projects
Commit 3269f206 authored by Jano Hendriks's avatar Jano Hendriks
Browse files

Add lambda.norpc to build arguments

parent 8fab65af
Branches
Tags v0.22.0
No related merge requests found
...@@ -84,6 +84,7 @@ func Build(dir string, module string, isDebug bool) error { ...@@ -84,6 +84,7 @@ func Build(dir string, module string, isDebug bool) error {
func BuildGolangApp(outputDir string, appPath string, module string, isDebug bool) error { func BuildGolangApp(outputDir string, appPath string, module string, isDebug bool) error {
commandArgs := []string{ commandArgs := []string{
`build`, `build`,
`-tags=lambda.norpc`,
fmt.Sprintf(`-ldflags=-X %v/globals.BuildVersion=%v -X %v/globals.OSType=%v -X %v/globals.IsDebugBuild=%v`, module, CurrentCommit(), module, runtime.GOOS, module, isDebug), fmt.Sprintf(`-ldflags=-X %v/globals.BuildVersion=%v -X %v/globals.OSType=%v -X %v/globals.IsDebugBuild=%v`, module, CurrentCommit(), module, runtime.GOOS, module, isDebug),
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment