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'));
}
}
BS.MultilineProperties.updateVisible();
<Do not cleanup>
Choose 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.
Strict mode:
Fail build if at build start in the checkout directory there are any files newly created during previous build which Swabra couldn't delete.
Locking processes detection:
if (this.checked) {
BS.Util.show($('swabra.process.analizer.container'));
} else {
BS.Util.hide($('swabra.process.analizer.container'));
}
BS.MultilineProperties.updateVisible();