Skip to content

Commit 10fa4f9

Browse files
add windows arm64, patch READMEs
1 parent cc042da commit 10fa4f9

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

build_differ.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import re
21
import subprocess
32
import os
43
import tarfile
@@ -50,6 +49,7 @@ def cleanup_old_builds(dist_dir, current_version):
5049
os.remove(file_path)
5150
print(f"Deleted old build file: {file}")
5251

52+
5353
def main():
5454
version = get_version()
5555
print(f"Version: {version}")
@@ -68,6 +68,10 @@ def main():
6868
print("Building for Windows x64...")
6969
run_command('dotnet publish ./csproj -c Release -r win-x64 --self-contained')
7070

71+
# Build for Windows ARM64
72+
print("Building for Windows ARM64...")
73+
run_command('dotnet publish ./csproj -c Release -r win-arm64 --self-contained')
74+
7175
# Build for macOS x64
7276
print("Building for macOS x64...")
7377
run_command('dotnet publish ./csproj -c Release -r osx-x64 --self-contained')

docs/developer-guide.md

-11
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,6 @@ dotnet publish -c Release -r osx-x64 --self-contained
9090
## Running Tests
9191

9292
To ensure everything is set up correctly and working as expected, run the tests included in the `tests/` directory.
93-
94-
### Step 1: Navigate to the Test Directory
95-
96-
Change to the `tests/` directory in your project:
97-
98-
```bash
99-
cd path/to/tests
100-
```
101-
102-
### Step 2: Run the Tests
103-
10493
Execute the tests using pytest:
10594

10695
```bash

docs/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ with open('/path/to/modified.docx', 'rb') as f:
2828
modified_bytes = f.read()
2929

3030
# This is a tuple, bytes @ element 0
31-
output = wrapper.run_redlines('AuthorTag', original_bytes, modified_bytes)
31+
output = wrapper.run_redline('AuthorTag', original_bytes, modified_bytes)
3232
```
3333

3434
In both cases, `output` will contain the byte content of the resulting redline - a .docx with changes in tracked

0 commit comments

Comments
 (0)