Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev verdor enhancement #211

Merged
merged 5 commits into from
Feb 12, 2025
Merged

dev verdor enhancement #211

merged 5 commits into from
Feb 12, 2025

Conversation

J-ZhengLi
Copy link
Owner

No description provided.

@@ -40,5 +40,5 @@ RUN chmod +x /scripts/install-tauri-cli.sh && \
/scripts/install-tauri-cli.sh

# 执行项目构建
CMD cargo dev vendor && \
cargo dev dist --cli
CMD cargo dev vendor --target aarch64-unknown-linux-gnu --name community && \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

target 和 name 的值可以通过ARG构建Docker镜像的时候传入 感觉可以不用写死

base.extend(["--features", "no-web"]);
}
if !host_target_differ {
base.extend(["--target", target]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个和 Dockerfile 里面的 --target 不是重复了?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没有啊, Dockerfile 里面我加的 --target 是给 cargo dev vendorcargo dev dist 的参数,这里传的是真正给构建命令(build) 的

@J-ZhengLi J-ZhengLi force-pushed the dev-zhengli branch 3 times, most recently from e7aaada to c0e8923 Compare February 12, 2025 03:34
use `Stored` compress method when compressing zip;
@J-ZhengLi J-ZhengLi merged commit e52f91c into master Feb 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants