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

[proposal] ffizer as project generator #5

Open
davidB opened this issue Jul 27, 2019 · 3 comments
Open

[proposal] ffizer as project generator #5

davidB opened this issue Jul 27, 2019 · 3 comments

Comments

@davidB
Copy link

davidB commented Jul 27, 2019

Hi,

As the author of ffizer (a tool to create project from template), I would like to propose a collaboration.

  • ffizer can be used as cli or as lib (not documented), so it could be integrated into an amethyst-branded cli.
  • ffizer can define template as composition of templates, so it ease reuse and share of template to create new one.
  • it is a general purpose "folder content generator", but it's main usage is for project template (I use to bootstrap python project for data-science, rust crates (cli, lib))

One of the main planned feature is to be able to update project (show diff, replace file,...). I'm open to any request, improvement to match your use cases.

@davidB
Copy link
Author

davidB commented Jul 27, 2019

form discord #tools

dwayne20/07/2019
the ffizer crate is a lib (src/lib.rs) that generate a bin (from src/main.rs). I'll take a look a sheep.

happens20/07/2019
Ah that's already very close to what we need then, just a different file/folder setup. I'll have a look at how your CLI uses your lib internally later. Thanks for bringing this up!

@davidB
Copy link
Author

davidB commented Aug 17, 2019

I forked the template a did some change to show some of the possibility of ffizer (vs git clone):

davidB@1cae401

  • define project name as variables
  • generate gitignore from gitignore.io service
  • allow user to select a license
  • configure the default features (metal or vulkan) based on local OS
  • doesn't include .git folder, COPYING, README from template repository into the generated project

I recorded a demo of the usage: asciicast

PS: since I open this ticket I did some improvement (and release) into ffizer.

@happenslol
Copy link
Member

That looks awesome! I'll have a look tomorrow and see how we could integrate this into our toolchain. Thanks for the work!

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

No branches or pull requests

2 participants