angular/tools/postinstall-patches.js
Igor Minar 129d1e0fb1 build: add postinstall-patches.js script suitable for postinstall patching of dependencies (#22669)
Because sometimes one has to do what one has to do...

PR Close #22669
2018-03-12 09:27:23 -07:00

14 lines
356 B
JavaScript

const {set, cd, sed} = require('shelljs');
const path = require('path');
console.log('===== about to run the postinstall.js script =====');
// fail on first error
set('-e');
// print commands as being executed
set('-v');
// jump to project root
cd(path.join(__dirname, '../'));
console.log('===== finished running the postinstall.js script =====');