hygen
hygen copied to clipboard
Support to generate empty directory
I would like to generate empty directory without any files. How can it be worked in current hygen?
One possible workaround is generated a .gitkeep
as the placeholder.
Yes! It would be nice for creating project templates. For example: "uploads" directory should be empty initially but must be there.
You can accomplish this using a shell action mkdir -p <%= yourparam %>