Created
September 1, 2017 16:37
-
-
Save cb1kenobi/82b09c9cb5d9af82e3fedabb0bd5d9ca to your computer and use it in GitHub Desktop.
Forces Titanium distribution builds to be deploy type test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Forces Titanium distribution builds to be deploy type test. | |
* | |
* To install, place this file in a `hooks` directory in your Titanium project directory. | |
*/ | |
'use strict'; | |
exports.id = 'com.axway.dist-test'; | |
exports.init = function init(logger, config, cli, appc) { | |
cli.on('build.pre.construct', function (builder) { | |
builder.deployType = 'test'; | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment