hygen icon indicating copy to clipboard operation
hygen copied to clipboard

Support to generate empty directory

Open LucienLee opened this issue 4 years ago • 2 comments

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.

LucienLee avatar Feb 24 '20 09:02 LucienLee

Yes! It would be nice for creating project templates. For example: "uploads" directory should be empty initially but must be there.

manuman94 avatar May 14 '20 09:05 manuman94

You can accomplish this using a shell action mkdir -p <%= yourparam %>

jondot avatar Jul 03 '20 12:07 jondot