Skip to content

feat: Add DoScript automation workflows for development tasks#138

Open
TheServer-lab wants to merge 9 commits intoalibaba:mainfrom
TheServer-lab:main
Open

feat: Add DoScript automation workflows for development tasks#138
TheServer-lab wants to merge 9 commits intoalibaba:mainfrom
TheServer-lab:main

Conversation

@TheServer-lab
Copy link

@TheServer-lab TheServer-lab commented Feb 16, 2026

Summary

Adds DoScript automation scripts to simplify common zvec development tasks.

What's Added

7 automation scripts in new doscript/ folder:

  • build.do - Configure CMake and build with customizable options
  • test.do - Run C++ unit tests, Python tests, or both
  • format.do - Check or auto-fix code formatting
  • benchmark.do - Download datasets and run benchmarks
  • coverage.do - Build with coverage and generate HTML report
  • release.do - Package release archives
  • clean.do - Remove build artifacts

Usage

Interactive:

do doscript\build.do

Scripted:

do doscript\build.do Release 8
do doscript\test.do all

Why DoScript?

  • ✅ English-like syntax - easy to read and modify
  • ✅ Interactive or scriptable - prompts OR CLI args
  • ✅ Self-documenting - readable without docs

Installing DoScript

Download from: https://github.com/TheServer-lab/DoScript/releases

Benefits

✅ Faster onboarding for new contributors
✅ Consistent workflows across team
✅ Reduced errors with validation
✅ Self-documenting scripts
✅ Completely optional - doesn't affect existing build

Testing

Tested on Windows 10/11 with CMake 3.20+, Python 3.8+, MSVC 2019/2022

Changes

  • Adds doscript/ folder with automation scripts
  • No changes to existing build system
  • Fully optional development tool

Full documentation in doscript/README.md

DoScript: https://github.com/TheServer-lab/DoScript

@CLAassistant
Copy link

CLAassistant commented Feb 16, 2026

CLA assistant check
All committers have signed the CLA.

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.

3 participants