Updated dist files

This commit is contained in:
David Driscoll
2020-04-02 23:16:14 -04:00
committed by Artur Stolear
parent 30b450f49e
commit b5f0884321
13 changed files with 344 additions and 156 deletions

View File

@@ -337,7 +337,11 @@ var n;!function(e){!function(t){var n="object"==typeof global?global:"object"==t
/*!*****************************************!*\
!*** ./src/agent/github/build-agent.ts ***!
\*****************************************/
<<<<<<< master
/*! no static exports found */function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const s=o(n(/*! fs */"fs")),a=o(n(/*! path */"path")),u=o(n(/*! url */"url")),c=n(/*! uuid */"./node_modules/uuid/dist/esm-node/index.js"),l=o(n(/*! @actions/core */"./node_modules/@actions/core/lib/core.js")),d=o(n(/*! @actions/exec */"./node_modules/@actions/exec/lib/exec.js")),p=o(n(/*! @actions/io */"./node_modules/@actions/io/lib/io.js")),f=o(n(/*! @actions/tool-cache */"./node_modules/@actions/tool-cache/lib/tool-cache.js"));let h=class{get agentName(){return"GitHub Actions"}find(e,t,n){return f.find(e,t,n)}proxyConfiguration(e){return{proxy:this.getProxyConfiguration(e),cert:void 0,ignoreSslError:void 0}}getProxyConfiguration(e){let t,n=process.env.NO_PROXY||process.env.no_proxy||null,r=!1;if(n&&("*"===n?r=!0:(t=n.split(","),e&&t.forEach(t=>{new RegExp(t,"i").test(e)&&(r=!0)}))),!r&&(process.env.HTTP_PROXY||process.env.http_proxy||process.env.HTTPS_PROXY||process.env.https_proxy||null)){let n=new u.URL(e);return{proxyUrl:`${n.protocol}//${n.hostname}:${n.port}`,proxyUsername:n.username,proxyPassword:n.password,proxyBypassHosts:t}}}cacheDir(e,t,n,r){return f.cacheDir(e,t,n,r)}createTempDir(){return i(this,void 0,void 0,(function*(){const e="win32"===process.platform;let t=process.env.RUNNER_TEMP||"";if(!t){let n;n=e?process.env.USERPROFILE||"C:\\":"darwin"===process.platform?"/Users":"/home",t=a.join(n,"actions","temp")}const n=a.join(t,c.v4());return yield p.mkdirP(n),n}))}debug(e){l.debug(e)}setFailed(e,t){l.setFailed(e)}setSucceeded(e,t){}exportVariable(e,t){l.exportVariable(e,t)}getVariable(e){return process.env[e]}addPath(e){l.addPath(e)}which(e,t){return p.which(e,t)}exec(e,t){return i(this,void 0,void 0,(function*(){const n=yield p.which(e,!0);let r=0,i="",o="";return r=yield d.exec(`"${n}"`,t,{listeners:{stderr:e=>{o+=e.toString()},stdout:e=>{i+=e.toString()}}}),{code:r,error:null,stderr:o,stdout:i}}))}getSourceDir(){return this.getVariable("GITHUB_WORKSPACE")}setOutput(e,t){l.setOutput(e,t)}getInput(e,t){var n;return null===(n=l.getInput(e,{required:t}))||void 0===n?void 0:n.trim()}getListInput(e,t){return l.getInput(e,{required:t}).split("\n").filter(e=>""!==e)}getBooleanInput(e,t){return"true"===(this.getInput(e,t)||"false").toLowerCase()}isValidInputFile(e,t){return this.filePathSupplied(e)&&this.fileExists(t)}filePathSupplied(e){return a.resolve(this.getInput(e)||"")!==this.getSourceDir()}fileExists(e){return this._exist(e)&&this._stats(e).isFile()}directoryExists(e){return this._exist(e)&&this._stats(e).isDirectory()}_exist(e){let t=!1;try{t=!(!e||null==s.statSync(e))}catch(e){if(!e||"ENOENT"!==e.code)throw e;t=!1}return t}_stats(e){return s.statSync(e)}};h=r([n(/*! inversify */"./node_modules/inversify/lib/inversify.js").injectable()],h),t.BuildAgent=h},"./src/core/dotnet-tool.ts":
=======
/*! no static exports found */function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{u(r.next(e))}catch(e){o(e)}}function a(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const s=o(n(/*! fs */"fs")),a=o(n(/*! path */"path")),u=n(/*! uuid */"./node_modules/uuid/dist/esm-node/index.js"),c=o(n(/*! @actions/core */"./node_modules/@actions/core/lib/core.js")),l=o(n(/*! @actions/exec */"./node_modules/@actions/exec/lib/exec.js")),d=o(n(/*! @actions/io */"./node_modules/@actions/io/lib/io.js")),p=o(n(/*! @actions/tool-cache */"./node_modules/@actions/tool-cache/lib/tool-cache.js"));let f=class{get agentName(){return"GitHub Actions"}find(e,t,n){return p.find(e,t,n)}cacheDir(e,t,n,r){return p.cacheDir(e,t,n,r)}createTempDir(){return i(this,void 0,void 0,(function*(){const e="win32"===process.platform;let t=process.env.RUNNER_TEMP||"";if(!t){let n;n=e?process.env.USERPROFILE||"C:\\":"darwin"===process.platform?"/Users":"/home",t=a.join(n,"actions","temp")}const n=a.join(t,u.v4());return yield d.mkdirP(n),n}))}debug(e){c.debug(e)}setFailed(e,t){c.setFailed(e)}setSucceeded(e,t){}exportVariable(e,t){c.exportVariable(e,t)}getVariable(e){return process.env[e]}addPath(e){c.addPath(e)}which(e,t){return d.which(e,t)}exec(e,t){return i(this,void 0,void 0,(function*(){const n=yield d.which(e,!0);let r=0,i="",o="";return r=yield l.exec(`"${n}"`,t,{listeners:{stderr:e=>{o+=e.toString()},stdout:e=>{i+=e.toString()}}}),{code:r,error:null,stderr:o,stdout:i}}))}getSourceDir(){return this.getVariable("GITHUB_WORKSPACE")}setOutput(e,t){c.setOutput(e,t),c.exportVariable(`GITVERSION_${e.toUpperCase()}`,t)}getInput(e,t){var n;return null===(n=c.getInput(e,{required:t}))||void 0===n?void 0:n.trim()}getListInput(e,t){return c.getInput(e,{required:t}).split("\n").filter(e=>""!==e)}getBooleanInput(e,t){return"true"===(this.getInput(e,t)||"false").toLowerCase()}isValidInputFile(e,t){return this.filePathSupplied(e)&&this.fileExists(t)}filePathSupplied(e){return a.resolve(this.getInput(e)||"")!==this.getSourceDir()}fileExists(e){return this._exist(e)&&this._stats(e).isFile()}directoryExists(e){return this._exist(e)&&this._stats(e).isDirectory()}_exist(e){let t=!1;try{t=!(!e||null==s.statSync(e))}catch(e){if(!e||"ENOENT"!==e.code)throw e;t=!1}return t}_stats(e){return s.statSync(e)}};f=r([n(/*! inversify */"./node_modules/inversify/lib/inversify.js").injectable()],f),t.BuildAgent=f},"./src/core/dotnet-tool.ts":
>>>>>>> Updated dist files
/*!*********************************!*\
!*** ./src/core/dotnet-tool.ts ***!
\*********************************/