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

This PR cleans up the files in then generated folder when elm-spa gen is run #118

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

JoshTRN
Copy link

@JoshTRN JoshTRN commented Nov 14, 2021

There are some formatting changes as well from my editor as well as a few stylistic changes I thought were in keeping with the rest of the code I was reading.

Every time elm-spa gen is run, all of the files that exist in do not exist in src but exist in gen get deleted and all of the empty directories get deleted from the gen folder. I decided not to remove the empty folders from src directory because I thought that the user may want them even if they deleted all the files in said directory. (Why would they delete all the files in it but not the directory if they didn't have some reason for keeping the directory?)

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.

1 participant