UNPKG

gulp-dotnet-cli

Version:
35 lines 986 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * calculates clean arguments * @param {ICleanModel} value - the value to clean arguments off of. */ exports.default = (value) => { let args = []; if (!value) { return args; } if (value.output) { args = args.concat(["--output", value.output]); } if (value.framework) { args = args.concat(["--framework", value.framework]); } if (value.runtime) { args = args.concat(["--runtime", value.runtime]); } if (value.configuration) { args = args.concat(["--configuration", value.configuration]); } if (value.verbosity) { args = args.concat(["--verbosity", value.verbosity]); } if (value.msbuildArgs) { args = args.concat(value.msbuildArgs); } if (value.version) { args = args.concat(`/p:Version=${value.version}`); } return args; }; //# sourceMappingURL=cleanArgBuilder.js.map