Skip to content

fix: improve Windows compatibility for Makefile and sync tools#530

Open
rainoeelmae wants to merge 1 commit intoOpenBMB:mainfrom
rainoeelmae:fix/windows-cross-platform-support
Open

fix: improve Windows compatibility for Makefile and sync tools#530
rainoeelmae wants to merge 1 commit intoOpenBMB:mainfrom
rainoeelmae:fix/windows-cross-platform-support

Conversation

@rainoeelmae
Copy link

This PR provides full cross-platform support (Windows/macOS/Linux) for the development environment. Key Changes
Makefile: Refactored dev and stop targets using cross-env and kill-port to support PowerShell/CMD. Compatibility: Replaced Unix-specific grep/awk in the help target with a Python one-liner. Bug Fix: Added encoding='utf-8' to tools/sync_vuegraphs.py to prevent charmap decode errors on Windows systems. Dependencies: Added necessary dev-tools to package.json files to ensure a seamless "clone and run" experience.

This PR provides full cross-platform support (Windows/macOS/Linux) for the development environment.
Key Changes
Makefile: Refactored dev and stop targets using cross-env and kill-port to support PowerShell/CMD.
Compatibility: Replaced Unix-specific grep/awk in the help target with a Python one-liner.
Bug Fix: Added encoding='utf-8' to tools/sync_vuegraphs.py to prevent charmap decode errors on Windows systems.
Dependencies: Added necessary dev-tools to package.json files to ensure a seamless "clone and run" experience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant