virtual-world-framework/vwf — pull request #410 by davideaster (2014-12-18 11:01:58+00:00)
Title: Build cleanup

This is a series of changes to make the builds more sane:

* Save build scripts that only existed on the Windows build machine. They still must be manually updated after changes, but at least they are visible now.

* The Windows machine has master and development build scripts, but not integration. Create the integration script. The main `StartVWFBuild.bat` only runs the master build though. Doing the integration or development builds will require editing the main script.

* Remove the node.js executable from the Windows build [[discussion](https://github.com/virtual-world-framework/vwf-web/pull/38#discussion_r21776792)].

* Have the build for the Windows installer assign a version number and post to the archive section of the build repository instead of overwriting a single "latest" build.

* Create a tool to convert the `version.js` version identifier to a version string so that the remote build scripts don't have to do it (each in their unique way).

* Have `rake build` stamp the build number in `version.js` so that the remote build scripts don't have to do it--each in their own little way.

* Stamp the build number according to SemVer conventions.

Also, not include in these changes but enabled by them:

* Simplify the Jenkins builds to just:

bundle install
bundle exec rake
bundle exec rake test

followed by the web server sync and restart and the archive build.

* Make the `development`, `integration`, and `master` build configurations much closer to each other. Everybody runs tests now and gets versioned build archives. The configurations could still improve by taking advantage of some environment variables to become closer still. (`master` is waiting for the others to test the configuration before it updates.)

* Clean-after-checkout and rsync-with-delete to maintain clean working copies. There are lots of files that have been removed from git that are still in the web server directories. The `development` version isn't deleting on rsync yet because `mars-game` is in there and apparently getting updated. I'm not sure where it's coming from.

* Have the Jenkins builds assign version numbers and post archives to the archive section of the builds repository instead of overwriting a single "latest" build.

* Stop making separate `Mac OS X` and `Linux` builds. They are the same.

@allisoncorey @eric79