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

Add an option to suppress the attempt to create boilerplates #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weilu
Copy link
Contributor

@weilu weilu commented Oct 20, 2014

No description provided.

@timoxley
Copy link
Owner

Great idea. Creating magical file seems bad though. Should probably go in datadir and also include direction to some command that will disable it. Maybe also provide an "always". If this is too much work though I'll just merge it as is.

@timoxley
Copy link
Owner

Note it should only be asking this if the user is missing files that exist in the boilerplate. Can you elaborate on the scenario where you want to have files in your boilerplate but not in the user's solution?

@weilu
Copy link
Contributor Author

weilu commented Oct 20, 2014

I also have boilerplate in my problem descriptions. Some users may want to just copy those and create their own files instead of having folders created for them.

@weilu
Copy link
Contributor Author

weilu commented Oct 20, 2014

I'm happy to move the file into datadir. always may not make sense because the generator generates boilerplates for all exercises at one go, so once it's there, the user won't be asked again.

@timoxley
Copy link
Owner

Sounds good. I suggest passing the "adventure" instance to setup.

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