Script the creation of a cordova build