Reputation: 1830
If I define the current version of my web app via a compiler arg is that considered bad form?
-define=CONFIG::VERSION,1.005
Should I really be loading an XML file with this info?
Just want to use the best approach.
Thank you!
Upvotes: 0
Views: 83
Reputation: 5267
Versioning via defining compile parameters is the best approach in my opinion as well because it's the simplest way to integrate as3 runtime-accessbile version and build scripts. It's also quite extendable without modifying existing code:
buildnumber
target it will automatically increment version and store it in the external file.I use such approach for several years in different projects (from small test applications to big online games) and it always works fine for me.
Upvotes: 2