Multiple applicaions based on same code - Maintanance

Is it possible to exclude some assets in resource directory from being included to particular build package?

Best solution would to base exclusion on some criteria…

I am looking for solution similar to xcode targets to maintain different versions of my app using same core files, but different assets. While changes in code can be achieved fairly simple by using IF’s based on one variable distinguishing version, therefore different texture names to load, however they are all included, making package size bigger.

Icons, splash screens and build.settings are additional problem, because I don’t see way to achieve maintainability of different versions of product with easy solution.

I’ve tried with GIT and branching, but it misses purpose of branches… And is still painful to cherry-pick common changes for all branches, but at least it resolves assets juggling. So my quest for better life brought me before you, Community.

Any help and ideas appreciated!

Hi @delwing,

Perhaps it’s not an ideal solution, but see my response here:

http://forums.coronalabs.com/topic/36154-including-andor-excluding-build-assets/

Take care,

Brent

Another option is to write shell scripts that copy/replace/remove the assets and files you need for wach build.

Hi @delwing,

Perhaps it’s not an ideal solution, but see my response here:

http://forums.coronalabs.com/topic/36154-including-andor-excluding-build-assets/

Take care,

Brent

Another option is to write shell scripts that copy/replace/remove the assets and files you need for wach build.