Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96f69b8

Browse files
chore: set slim tag when compilingcoder-vpn.dylib (#18001)
```$ du -sh before.dylib after.dylib 35M before.dylib 30M after.dylib ```
1 parentb4daf36 commit96f69b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎scripts/build_go.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ fi
144144
# We use ts_omit_aws here because on Linux it prevents Tailscale from importing
145145
# github.com/aws/aws-sdk-go-v2/aws, which adds 7 MB to the binary.
146146
TS_EXTRA_SMALL="ts_omit_aws,ts_omit_bird,ts_omit_tap,ts_omit_kube"
147-
if [["$slim"== 0 ]];then
148-
build_args+=(-tags"embed,$TS_EXTRA_SMALL")
149-
else
147+
if [["$slim"== 1||"$dylib"== 1 ]];then
150148
build_args+=(-tags"slim,$TS_EXTRA_SMALL")
149+
else
150+
build_args+=(-tags"embed,$TS_EXTRA_SMALL")
151151
fi
152152
if [["$agpl"== 1 ]];then
153153
# We don't use a tag to control AGPL because we don't want code to depend on

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp