From 812704ab05abba66fa758e0f3f959404d93c04d5 Mon Sep 17 00:00:00 2001 From: t-zhangw Date: Thu, 6 Aug 2020 08:12:39 +0000 Subject: [PATCH] Aggregate afterscipts --- sdkauto_afterscript.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sdkauto_afterscript.js diff --git a/sdkauto_afterscript.js b/sdkauto_afterscript.js new file mode 100644 index 0000000000..1223e7089f --- /dev/null +++ b/sdkauto_afterscript.js @@ -0,0 +1,5 @@ +const basePath = process.argv[2]; +require("child_process").execSync(`npm install --prefix generator`, {stdio: 'inherit'}); +require("child_process").execSync(`npm run postprocessor ${basePath} --prefix generator`, {stdio: 'inherit'}); +require("child_process").execSync(`npm install --prefix tools`, {stdio: 'inherit'}); +require("child_process").execSync(`npm run test --prefix tools`, {stdio: 'inherit'});