Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: set slim tag when compiling coder-vpn.dylib
  • Loading branch information
ethanndickson committed May 23, 2025
commit 0834de7895b1351a1334dcc99681dab7b46e7098
6 changes: 3 additions & 3 deletions scripts/build_go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ fi
# We use ts_omit_aws here because on Linux it prevents Tailscale from importing
# github.com/aws/aws-sdk-go-v2/aws, which adds 7 MB to the binary.
TS_EXTRA_SMALL="ts_omit_aws,ts_omit_bird,ts_omit_tap,ts_omit_kube"
if [[ "$slim" == 0 ]]; then
build_args+=(-tags "embed,$TS_EXTRA_SMALL")
else
if [[ "$slim" == 1 || "$dylib" == 1 ]]; then
build_args+=(-tags "slim,$TS_EXTRA_SMALL")
else
build_args+=(-tags "embed,$TS_EXTRA_SMALL")
fi
if [[ "$agpl" == 1 ]]; then
# We don't use a tag to control AGPL because we don't want code to depend on
Expand Down
Loading