Build outputs

This commit is contained in:
Daz DeBoer 2022-06-12 09:55:45 -06:00
parent c09f41c4bd
commit f1c1269910
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
4 changed files with 8 additions and 8 deletions

6
dist/main/index.js vendored
View file

@ -64973,13 +64973,13 @@ class GradleStateCache {
initializeGradleUserHome(gradleUserHome, initScriptsDir) {
const initScriptFilenames = ['build-result-capture.init.gradle', 'build-result-capture-service.plugin.groovy'];
for (const initScriptFilename of initScriptFilenames) {
const initScriptContent = this.readResourceAsString(initScriptFilename);
const initScriptContent = this.readInitScriptAsString(initScriptFilename);
const initScriptPath = path_1.default.resolve(initScriptsDir, initScriptFilename);
fs_1.default.writeFileSync(initScriptPath, initScriptContent);
}
}
readResourceAsString(resource) {
const absolutePath = path_1.default.resolve(__dirname, '..', '..', 'src', 'resources', resource);
readInitScriptAsString(resource) {
const absolutePath = path_1.default.resolve(__dirname, '..', '..', 'src', 'resources', 'init-scripts', resource);
return fs_1.default.readFileSync(absolutePath, 'utf8');
}
debugReportGradleUserHomeSize(label) {

File diff suppressed because one or more lines are too long

6
dist/post/index.js vendored
View file

@ -64024,13 +64024,13 @@ class GradleStateCache {
initializeGradleUserHome(gradleUserHome, initScriptsDir) {
const initScriptFilenames = ['build-result-capture.init.gradle', 'build-result-capture-service.plugin.groovy'];
for (const initScriptFilename of initScriptFilenames) {
const initScriptContent = this.readResourceAsString(initScriptFilename);
const initScriptContent = this.readInitScriptAsString(initScriptFilename);
const initScriptPath = path_1.default.resolve(initScriptsDir, initScriptFilename);
fs_1.default.writeFileSync(initScriptPath, initScriptContent);
}
}
readResourceAsString(resource) {
const absolutePath = path_1.default.resolve(__dirname, '..', '..', 'src', 'resources', resource);
readInitScriptAsString(resource) {
const absolutePath = path_1.default.resolve(__dirname, '..', '..', 'src', 'resources', 'init-scripts', resource);
return fs_1.default.readFileSync(absolutePath, 'utf8');
}
debugReportGradleUserHomeSize(label) {

File diff suppressed because one or more lines are too long