Delve for all packages (#56535)

This commit is contained in:
Rafał Gajdulewicz 2023-09-12 12:10:10 +02:00 committed by GitHub
parent ccb7e35979
commit 0359ff6f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,7 @@ commands:
.bin/frontend
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/frontend github.com/sourcegraph/sourcegraph/cmd/frontend
checkBinary: .bin/frontend
@ -176,7 +176,7 @@ commands:
cmd: .bin/gitserver
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/gitserver github.com/sourcegraph/sourcegraph/cmd/gitserver
checkBinary: .bin/gitserver
@ -214,7 +214,7 @@ commands:
cmd: .bin/github-proxy
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/github-proxy github.com/sourcegraph/sourcegraph/cmd/github-proxy
checkBinary: .bin/github-proxy
@ -229,7 +229,7 @@ commands:
.bin/repo-updater
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/repo-updater github.com/sourcegraph/sourcegraph/cmd/repo-updater
checkBinary: .bin/repo-updater
@ -244,7 +244,7 @@ commands:
cmd: .bin/symbols
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/symbols github.com/sourcegraph/sourcegraph/enterprise/cmd/symbols
@ -267,7 +267,7 @@ commands:
.bin/embeddings
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/embeddings github.com/sourcegraph/sourcegraph/enterprise/cmd/embeddings
@ -293,7 +293,7 @@ commands:
.bin/worker
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/worker github.com/sourcegraph/sourcegraph/enterprise/cmd/worker
watch:
@ -307,7 +307,7 @@ commands:
.bin/cody-gateway
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/cody-gateway github.com/sourcegraph/sourcegraph/cmd/cody-gateway
@ -332,7 +332,7 @@ commands:
.bin/pings
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/pings github.com/sourcegraph/sourcegraph/cmd/pings
@ -351,7 +351,7 @@ commands:
cmd: .bin/searcher
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/searcher github.com/sourcegraph/sourcegraph/cmd/searcher
checkBinary: .bin/searcher
@ -492,7 +492,7 @@ commands:
.bin/codeintel-worker
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/codeintel-worker github.com/sourcegraph/sourcegraph/cmd/precise-code-intel-worker
checkBinary: .bin/codeintel-worker
@ -508,7 +508,7 @@ commands:
env TMPDIR="$HOME/.sourcegraph/executor-temp" .bin/executor
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/executor github.com/sourcegraph/sourcegraph/cmd/executor
checkBinary: .bin/executor
@ -641,7 +641,7 @@ commands:
# Ensure the old blobstore Docker container is not running
docker rm -f blobstore
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -o .bin/blobstore github.com/sourcegraph/sourcegraph/cmd/blobstore
checkBinary: .bin/blobstore
@ -921,7 +921,7 @@ commands:
.bin/sourcegraph
install: |
if [ -n "$DELVE" ]; then
export GCFLAGS='-N -l'
export GCFLAGS='all=-N -l'
fi
go build -gcflags="$GCFLAGS" -ldflags="-X github.com/sourcegraph/sourcegraph/internal/conf/deploy.forceType=app" -o .bin/sourcegraph github.com/sourcegraph/sourcegraph/cmd/sourcegraph
checkBinary: .bin/sourcegraph