Skip to content

Commit ac2fb7e

Browse files
committed
Copy files into the Example dir for testing (I used to do that by hand)
1 parent be8ceec commit ac2fb7e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build-nvda-addon.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ rm -rf addon/globalPlugins/MathCAT/Rules
66
# We need to tell PYO3 that
77
set PYO3_PYTHON_64=C:/Software/Python311
88
set PYO3_PYTHON_32=C:/Software/Python311-32
9-
# set PYO3_PYTHON_32=c:/Users/neils/AppData/Local/Programs/Python/Python37-32
109
env PYO3_PYTHON=$PYO3_PYTHON_32/python.exe cargo build --target i686-pc-windows-msvc --release
11-
cp target/i686-pc-windows-msvc/release/libmathcat_py.dll addon/globalPlugins/MathCAT/libmathcat.pyd
10+
cp target/i686-pc-windows-msvc/release/libmathcat_py.dll addon/globalPlugins/MathCAT/libmathcat_py.pyd
11+
# for testing
12+
cp target/i686-pc-windows-msvc/release/libmathcat_py.dll Example/libmathcat_py.pyd
13+
cp -r addon/globalPlugins/MathCAT/Rules Example
1214
sed 's/^import wx\.xrc/# import wx.xrc/' --in-place "addon/globalPlugins/MathCAT/MathCATgui.py"
1315
rm MathCAT-*.nvda-addon
1416

0 commit comments

Comments
 (0)