Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit d81adc2

Browse files
author
Bernhard Grünewaldt
committed
separate deploy and build chain
1 parent 68cdc5d commit d81adc2

File tree

4 files changed

+6
-3779
lines changed

4 files changed

+6
-3779
lines changed

build.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ const tsconfigTemplate = require('./build-tsconfig-template.js');
1818
const packageJsonTemplate = require('./build-package-json-template.js');
1919
const currentDir = shell.pwd().stdout;
2020
const relativePath = (_path) => {
21-
return path.resolve(currentDir, _path);
21+
const absolutePath = path.resolve(currentDir, _path);
22+
console.log(absolutePath);
23+
process.exit();
24+
return absolutePath;
2225
}
2326

2427
/**
@@ -34,13 +37,13 @@ const buildPackage = (languageTarget, watch) => {
3437
if (shell.test('-f', relativePath('../build/package-lock.json'))) shell.rm('-rf', relativePath('../build/package-lock.json'));
3538
if (!shell.test('-d', relativePath('../build/'))) shell.mkdir(relativePath('../build/'));
3639
shell.cp('-R', relativePath('../src'), relativePath('../build'));
37-
shell.cp('-R', relativePath('../manifest.json'), relativePath('../build'));
40+
shell.cp('-R', relativePath('../package.json'), relativePath('../build/package_orig.json'));
3841

3942
//
4043
// CD BUILD DIR
4144
//
4245
shell.cd(relativePath('../build/'));
43-
const manifest = JSON.parse(shell.cat(relativePath('../build/manifest.json')));
46+
const manifest = JSON.parse(shell.cat(relativePath('../build/package_orig.json')));
4447

4548
//
4649
// GENERATE TEMPORARY LIBRARY package.json TO INSTALL PEER DEPENDENCIES DURING BUILD

jenkins-inside-docker.sh

Lines changed: 0 additions & 144 deletions
This file was deleted.

jenkins.sh

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)