Skip to content

Commit

Permalink
Merge pull request #1329 from transcom/trim_gopath
Browse files Browse the repository at this point in the history
Trim GOPATH from debug symbols
  • Loading branch information
pjdufour-truss authored Nov 12, 2018
2 parents 0708147 + 222e1bb commit 10a7e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pkg/assets/assets.go: pkg/paperwork/formtemplates/*
go-bindata -o pkg/assets/assets.go -pkg assets pkg/paperwork/formtemplates/

server_build: server_deps server_generate
go build -i -o bin/webserver ./cmd/webserver
go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) -i -o bin/webserver ./cmd/webserver
# This command is for running the server by itself, it will serve the compiled frontend on its own
server_run_standalone: client_build server_build db_dev_run
DEBUG_LOGGING=true $(AWS_VAULT) ./bin/webserver
Expand Down

0 comments on commit 10a7e67

Please sign in to comment.