I solved a similar problem with a make file. My main development directory contained all the assets, and I can “make iOS” or “make droid” to copy all the pertinent assets and code to another directory for building. That coupled with git branches for each build type, and a “manifest” file that contained a list of what files to copy for each type. This way only the assets for a given build type are included in that build. It also lets me keep a bunch of stuff in the main development directory that I don’t want included in the builds, or would choke Corona, like Pixlemator files, notes, etc.
Looks like this
.PHONY: all iOS droid
all: iOS droid
iOS:
git checkout ios
rm -rf ../DropDropsIOS
mkdir ../DropDropsIOS
tar cf - `cat Manifest-iOS` | (cd ../DropDropsIOS; tar xvf -)
droid:
git checkout droid
rm -rf ../DropDropsDroid
mkdir ../DropDropsDroid
tar cf - `cat Manifest-droid` | (cd ../DropDropsDroid; tar xvf -)
Just gotta remember to make changes in the main directory, not the build ones. Lost a bunch of changes by forgetting that one. Oops.
–Woof! [import]uid: 24607 topic_id: 14102 reply_id: 52316[/import]