Initial implementation

This commit is contained in:
Taiki Endo
2021-12-30 17:33:20 +09:00
parent 2268dc2bb7
commit 0a6b5bf893
14 changed files with 792 additions and 0 deletions

16
main.js Normal file
View File

@@ -0,0 +1,16 @@
const { execFileSync } = require('child_process');
function main() {
try {
execFileSync(
'bash',
['--noprofile', '--norc', `${__dirname}/main.sh`],
{ stdio: 'inherit' }
);
} catch (e) {
console.log(`::error::${e.message}`);
process.exit(1);
}
}
main();