Skip to content

Commit

Permalink
ci: 打包显示进度
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Dec 7, 2021
1 parent 5a74b19 commit 96bf11b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ scriptcat_firefox

private
.idea
.vscode
18 changes: 0 additions & 18 deletions .vscode/launch.json

This file was deleted.

6 changes: 0 additions & 6 deletions .vscode/settings.json

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ str = fs.readFileSync("./src/apps/config.ts").toString();
str = str.replace(/ExtVersion = "(.*?)";/, 'ExtVersion = "' + pjson.version + '";');
fs.writeFileSync("./src/apps/config.ts", str);

execSync("npm run build");
execSync("npm run build", { stdio: 'inherit' });

execSync("npm run build-no-split");
execSync("npm run build-no-split", { stdio: 'inherit' });

// 处理 ts.worker.js 和 editor.worker.js
let list = fs.readdirSync("./build/scriptcat/src");
Expand Down

0 comments on commit 96bf11b

Please sign in to comment.