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

Is there any way to include initial file in cargo package? #6

Closed
POPPIN-FUMI opened this issue Sep 1, 2022 · 2 comments · Fixed by #20
Closed

Is there any way to include initial file in cargo package? #6

POPPIN-FUMI opened this issue Sep 1, 2022 · 2 comments · Fixed by #20
Assignees
Labels

Comments

@POPPIN-FUMI
Copy link
Collaborator

zapp new downloads the initial file from Google Cloud Storage at this moment.

pub async fn dl_zapp(app_name: &str) {

This initial folder is just 23KB.
I want to have it in the local machine when cargo install zapp.

@JonasCir
Copy link
Collaborator

Agreed 👍 I was wondering what this function was doing.

I think we can template the rust code through quote directly. Other resources can just be formatted/printed or we find a way to include assets in cargo crates (I know there are ways, but needs investigation how to do this cleanly).

@POPPIN-FUMI
Copy link
Collaborator Author

Yeah, Awesome!
This also has a quest here;
https://alpha.epics.dev/ja/quest/UXVlc3Q6NA==/

JonasCir added a commit to JonasCir/zapp that referenced this issue Oct 7, 2022
JonasCir added a commit to JonasCir/zapp that referenced this issue Oct 7, 2022
JonasCir added a commit to JonasCir/zapp that referenced this issue Oct 7, 2022
JonasCir added a commit to JonasCir/zapp that referenced this issue Oct 7, 2022
JonasCir added a commit to JonasCir/zapp that referenced this issue Oct 7, 2022
JonasCir added a commit to JonasCir/zapp that referenced this issue Oct 7, 2022
JonasCir added a commit to JonasCir/zapp that referenced this issue Oct 7, 2022
@JonasCir JonasCir self-assigned this Oct 7, 2022
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 a pull request may close this issue.

2 participants