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 support for copying over a static fileset #14

Closed
natefinch opened this issue Sep 8, 2017 · 0 comments
Closed

Add support for copying over a static fileset #14

natefinch opened this issue Sep 8, 2017 · 0 comments

Comments

@natefinch
Copy link
Member

It's useful to be able to blow away the whole generated directory, but then if there are any non-generated files in there, it can become problematic. If we had the ability to specify a "static" folder, like Hugo's static folder, then you'd be able to put non-generated files in there and feel comfortable just blowing away and regenerating with gnorm. This is especially useful if you change the filenames/layout that gets generated.

gernest added a commit to gernest/gnorm that referenced this issue Oct 3, 2017
This adds support for static files. You can add files into a directory that  is defined by `StaticDir` in  gnorm.toml and they will be copied to the directory defined by `OutputDir` in the gnorm.toml.

The structure of the directories is preserved.

Closes gnormal#14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant