From 9598f66619b74c55230c1416a91679ca39ea2f0e Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Thu, 22 Aug 2024 15:55:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=BF=AB=E9=80=9F=E6=89=93?= =?UTF-8?q?=E5=8C=85=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +-- .vscode/tasks.json | 12 ++++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index 2e5ff78..9bf0dbd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/.vscode/* -/dist/* \ No newline at end of file +/dist/dist.zip \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..f638076 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,12 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "type": "shell", + "command": "del ./dist/*;7z a -tzip ./dist/dist.zip ./* '-xr!dist/' '-xr!.vscode/' '-xr!.git/'" + } + ] +}