var selectedValue = this.options[this.selectedIndex].value;
if (selectedValue == 'swabra.before.build') {
BS.Util.show($('swabra.verbose.container'));
BS.Util.show($('swabra.strict.container'));
BS.Util.hide($('swabra.mode.note'));
BS.Util.show($('swabra.before.build.mode.note'));
BS.Util.hide($('swabra.after.build.mode.note'));
} else {
if (selectedValue == 'swabra.after.build') {
BS.Util.hide($('swabra.verbose.container'));
BS.Util.show($('swabra.strict.container'));
BS.Util.hide($('swabra.mode.note'));
BS.Util.hide($('swabra.before.build.mode.note'));
BS.Util.show($('swabra.after.build.mode.note'));
} else {
BS.Util.hide($('swabra.verbose.container'));
BS.Util.hide($('swabra.strict.container'));
BS.Util.show($('swabra.mode.note'));
BS.Util.hide($('swabra.before.build.mode.note'));
BS.Util.hide($('swabra.after.build.mode.note'));
}
}
$('swabra.verbose.container').disabled = (selectedValue != 'swabra.before.build');
BS.MultilineProperties.updateVisible();
<Do not cleanup>
Choose build garbage cleanup mode.
Previous build files cleanup will be performed at build start. You only need to use this mode
if files are required between builds.
Build files cleanup will be performed after the build. Between builds there will be clean copy in the checkout directory.
Fail build if at build start in the checkout directory there are any files newly created during previous build which Swabra couldn't remove.