Skip to content

Commit a150184

Browse files
committed
🚀 Add build script
1 parent 68dc6a9 commit a150184

File tree

5 files changed

+1933
-1
lines changed

5 files changed

+1933
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules
22
.idea
3+
bin/*
4+
!bin/.gitkeep

bin/.gitkeep

Whitespace-only changes.

build.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const { exec } = require('pkg');
2+
3+
const run = async () => {
4+
await exec([ 'index.js', '--target', 'node12', '--out-path', 'bin' ]);
5+
};
6+
7+
run();

0 commit comments

Comments
 (0)