-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
c8b6b1b
to
eda83ca
Compare
replace `gen_pkg_list.sh` with more ergonomic rust code embedded in `vendor` command;
eda83ca
to
b75586d
Compare
b75586d
to
bd89f2f
Compare
@@ -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 && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
target 和 name 的值可以通过ARG构建Docker镜像的时候传入 感觉可以不用写死
rim_dev/src/dist.rs
Outdated
base.extend(["--features", "no-web"]); | ||
} | ||
if !host_target_differ { | ||
base.extend(["--target", target]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个和 Dockerfile 里面的 --target
不是重复了?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有啊, Dockerfile 里面我加的 --target 是给 cargo dev vendor
和 cargo dev dist
的参数,这里传的是真正给构建命令(build) 的
e7aaada
to
c0e8923
Compare
use `Stored` compress method when compressing zip;
c0e8923
to
d12f624
Compare
No description provided.