logoalt Hacker News

cortesoftyesterday at 1:02 AM3 repliesview on HN

Not sure why you can’t just have your build script create the build directory?


Replies

twicyesterday at 7:52 PM

Usually, you can. But occasionally you get mildly defective tools that require some directory to exist, even though it's empty. It's easier to add a gitkeep than fix them.

show 1 reply
andybakyesterday at 1:10 AM

Because you might not have a build script?

show 2 replies
xg15yesterday at 12:33 PM

There may be other directories. I think it's useful to be able to see the entire directory structure of a repo when you check it out, and not just after running some scripts.