Skip to content

Commit 26ef602

Browse files
committed
add minified version to the build
1 parent f09329a commit 26ef602

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

.github/workflows/automaticRelease.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ jobs:
6868
compression-level: 0
6969
retention-days: 1
7070

71+
- name: Upload Rules-minified.zip
72+
uses: actions/upload-artifact@v5
73+
with:
74+
name: 'Rules-minified.zip'
75+
path: 'addon/globalPlugins/MathCAT/Rules-minified.zip'
76+
compression-level: 0
77+
retention-days: 1
78+
if-no-files-found: ignore
79+
7180
rust-32:
7281
name: Build 32 bit windows pyd file
7382
runs-on: windows-latest # needs to run on windows because of bzip2
@@ -252,6 +261,11 @@ jobs:
252261
uses: actions/download-artifact@v5
253262
with:
254263
name: Rules.zip
264+
- name: Download Rules-minified.zip
265+
uses: actions/download-artifact@v5
266+
with:
267+
name: Rules-minified.zip
268+
if-no-files-found: ignore
255269
# put things where they belong
256270
- name: Set up addons dir
257271
run: |
@@ -317,6 +331,11 @@ jobs:
317331
uses: actions/download-artifact@v5
318332
with:
319333
name: Rules.zip
334+
- name: Download Rules-minified.zip
335+
uses: actions/download-artifact@v5
336+
with:
337+
name: Rules-minified.zip
338+
if-no-files-found: ignore
320339
# put things where they belong
321340
- name: Set up addons dir
322341
run: |
@@ -386,6 +405,11 @@ jobs:
386405
uses: actions/download-artifact@v5
387406
with:
388407
name: Rules.zip
408+
- name: Download Rules-minified.zip
409+
uses: actions/download-artifact@v5
410+
with:
411+
name: Rules-minified.zip
412+
if-no-files-found: ignore
389413
- name: Download 32 bit build
390414
uses: actions/download-artifact@v5
391415
with:
@@ -435,3 +459,4 @@ jobs:
435459
libmathcat_py-64-3.13-win.zip
436460
libmathcat_py-64-3.13-linux.zip
437461
Rules.zip
462+
Rules-minified.zip

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@
236236
],
237237
"git.ignoreLimitWarning": true,
238238
"python.analysis.diagnosticMode": "workspace",
239-
"python.languageServer": "Pylance",
239+
"python.languageServer": "None",
240240

241-
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
241+
"python.defaultInterpreterPath": "C:\\Software\\Python\\Python313\\python.exe",
242242

243243
"python.linting.enabled": true,
244244
"python.linting.ruffEnabled": true,

0 commit comments

Comments
 (0)