KSP-RO / TestFlight

KSP Mod that provides a part research and reliability system
42 stars 31 forks source link

Exclude ignore.txt files from release ZIPs #192

Closed HebaruSan closed 5 years ago

HebaruSan commented 5 years ago

This mod currently ships two ZIP files that both try to install GameData\TestFlight\Config\ignore.txt, a zero byte file that isn't needed for the mod to function. I believe it was created so the Config folder would exist when the repo is cloned, because git does not support committing empty directories.

Luckily, the makefile generates the ZIPs with the zip command, which allows an -x argument to exclude files matching a pattern.

Now the build process is updated to exclude these files from the generated ZIP files.

Fixes #191.

jwvanderbeck commented 5 years ago

Probably simpler than the way I was going to do it. But won't that still leave the empty folder there in Core which will still prevent CKAN form installing Config?

HebaruSan commented 5 years ago

CKAN doesn't care if modules share folders. It's only files that are a problem.

jwvanderbeck commented 5 years ago

ahh