Building a flexible build system with Sublime

Build different versions of your app with two clicks! 

My last app TicBoom! comes as a free and paid version. But to build one of these versions

it was very tedious to go into the code, change a variable that activates or deactivates

the advertisement. Copy and rename icon files, changing bundle identifiers, or maybe copy and

rename different build.settings etc.

For all these annoying tasks I wrote some methods that uses Sublimes cool build

system. After you set it up, you will have in the menu of sublime under

Tools > Build System a new entry for each version you want to be able to

build (like in the screenshot).

sublime_build_system.png

To build the paid version of my app, I just have to select the TicBoom Paid Version

in the Build System Menu. Then click build. The Corona Simulator starts with the

paid version of my app, and I have to fill out properly Corona’s build window. In fact

the last step, filling out Corona’s build window costs the most effort now (maybe there

is a way to pre-fill Corona’s build window? Does someone know?) But all the other

tedious tasks as described above can be solved automatically with Sublime.

I wrote a little guide about it on my website.

Maybe someone can use this.

Wish you thousand downloads a day!

René

ps: you can follow me on twitter [twitter]pyropxl[/twitter]

Excellent work. Many thanks for the post. 

I was looking for a way to replicate the build configuration settings in Lua Glider and your post helped a lot.

Luay

Excellent work. Many thanks for the post. 

I was looking for a way to replicate the build configuration settings in Lua Glider and your post helped a lot.

Luay