Skip to content

feat(build): add RELEASE and COMPRESS environment variable support#19

Merged
FGadvancer merged 1 commit intoopenimsdk:mainfrom
dsx137:main
Feb 12, 2026
Merged

feat(build): add RELEASE and COMPRESS environment variable support#19
FGadvancer merged 1 commit intoopenimsdk:mainfrom
dsx137:main

Conversation

@dsx137
Copy link
Contributor

@dsx137 dsx137 commented Feb 12, 2026

Add conditional build flags for release builds and optional UPX compression. When RELEASE=true, add -trimpath and -ldflags "-s -w" to build args. When COMPRESS=true, compress output binaries with UPX after compilation.

🅰 Please add the issue ID after "Fixes #"

Fixes #

Add conditional build flags for release builds and optional UPX compression.
When RELEASE=true, add -trimpath and -ldflags "-s -w" to build args.
When COMPRESS=true, compress output binaries with UPX after compilation.

Add conditional build flags for release builds and optional UPX compression.
When RELEASE=true, add -trimpath and -ldflags "-s -w" to build args.
When COMPRESS=true, compress output binaries with UPX after compilation.
@FGadvancer FGadvancer merged commit 7d3ba72 into openimsdk:main Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants