MisterDA / love-release

:love_letter: Lua script that makes LÖVE game release easier
MIT License
451 stars 27 forks source link

Building for android discards changes in the project directory #30

Closed raffomania closed 8 years ago

raffomania commented 8 years ago

Line 151 in scripts/android.sh does git checkout -- in the project directory. This caused some confusion for me ;) Is there a reason for this behavior?

MisterDA commented 8 years ago

When the android script creates a package, it adds a some files in your project (but I don't remember what and where). At the time, I thought that git checkout -- . was a good idea to reset the project directory to a previous state, but now that you say it... It's terrible, I'm sorry if I have deleted your code ! I'm going to remove this line asap, then I'll take a look to know how I can cleanly delete the android generated files.