nczempin / Turres-Monacorum

scifi tower defense made with löve2d and lua
http://nczempin.github.io/Turres-Monacorum/
Other
52 stars 10 forks source link

reorganize file structure to prepare for releases #62

Closed nczempin closed 10 years ago

nczempin commented 10 years ago

We have a number of files that are considered "sources" in that they are needed during development, but a potential release doesn't require them to be included.

The easiest way to handle this is to put all the stuff that will go into a release into a separate folder, one level down from where everything currently resides.

Then we can have e. g. one folder "game" which contains main.lua and the various other .lua files and the folders that are referenced from the game, while e. g. "resources" can stay at its current level.

Then when we make a release, we just needs to zip the "game" folder and rename it "something.love" (and then we can attach that to the love.exe in a final step for a binary release).

nczempin commented 10 years ago

This is what I had in mind: https://github.com/nczempin/Turres-Monacorum/tree/release. We could just use the "release" folder to work on the project, and that would be taken as is and turned into a .love file, whereas resources that will not be shipped can be in the "resources" folder.

AliceSteidl commented 10 years ago

Looks good to me :-) :+1:

nczempin commented 10 years ago

I'm just not sure if this would screw with the others' project setups. @PriorBlue, do you have an opinion on this?

nczempin commented 10 years ago

No complaints so far, so I assume it's okay the way it is for now.