Skip to content

Refactor build scripts: Replace local-build.sh with build and build.bat#103

Merged
chrisgleissner merged 3 commits into
mainfrom
build/improve-scripts
Jan 31, 2026
Merged

Refactor build scripts: Replace local-build.sh with build and build.bat#103
chrisgleissner merged 3 commits into
mainfrom
build/improve-scripts

Conversation

@chrisgleissner

Copy link
Copy Markdown
Owner
  • Introduced build.bat for Windows to streamline the build process.
  • Updated documentation to reflect changes from local-build.sh to build.
  • Adjusted commands in various markdown files to use the new build script.
  • Ensured that all references to local-build.sh are replaced with build for consistency.

- Introduced build.bat for Windows to streamline the build process.
- Updated documentation to reflect changes from local-build.sh to build.
- Adjusted commands in various markdown files to use the new build script.
- Ensured that all references to local-build.sh are replaced with build for consistency.
Copilot AI review requested due to automatic review settings January 31, 2026 08:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors local build tooling and documentation by introducing build.bat for Windows and updating docs to reference the new build script instead of local-build.sh.

Changes:

  • Added a Windows build wrapper (build.bat).
  • Refactored build script CLI (new --platform/-p option style, updated help/arg parsing).
  • Updated various docs to reference the new build entrypoints and removed older CI/Copilot docs.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 16 comments.

Show a summary per file
File Description
tests/script/fuzz/README.md Updates fuzzing instructions to use ./build.
docs/testing-strategy.md Updates recommended local test workflow to use ./build.
doc/testing/e2e.md Updates E2E quick start commands to use ./build.
doc/developer.md Updates developer workflow docs to use build/build.bat.
doc/c64script/c64script-trace-validation.md Updates trace validation commands to use ./build.
build.bat Adds Windows wrapper script intended to invoke the build process via bash.
build Updates CLI usage/argument parsing and some messaging around platform selection and E2E.
README.md Refreshes TOC formatting and updates one local-build.sh reference to ./build.
AGENTS.md Condenses and updates agent guardrails + build/test commands to use ./build.
.github/docker/README.md Updates Docker build instructions to use ./build.
.github/copilot-instructions.md Replaces detailed instructions with a pointer to AGENTS.md.
.github/build-instructions.md Removes CI/Copilot build instructions doc.
.github/COPILOT_DEPENDENCIES.md Removes Copilot dependency documentation.
Comments suppressed due to low confidence (2)

build:1517

  • --config assumes a following value ($2) but doesn't validate it. With set -u, running ./build --config (or --config at end) will crash with an "unbound variable" instead of a clear usage error. Add the same kind of argument-count/"next token is option" validation used for --platform and print a helpful error message.
    build:1745
  • The "Next steps" hint says "Run E2E tests" but suggests --e2e-scenarios (runs all scenarios) rather than the default single-scenario --e2e. Either change the suggested command to --install --e2e (or -i -e), or adjust the message text to explicitly say it runs all scenarios.

Comment thread doc/developer.md Outdated
Comment thread docs/testing-strategy.md Outdated
Comment thread doc/developer.md Outdated
Comment thread doc/developer.md
Comment thread doc/developer.md Outdated
Comment thread .github/docker/README.md Outdated
Comment thread .github/docker/README.md Outdated
Comment thread doc/developer.md Outdated
Comment thread .github/docker/README.md Outdated
Comment thread .github/docker/README.md
…out handling

- Refactor build commands in README and developer guide for consistency
- Update build.bat to call the new build script with appropriate parameters
- Enhance timeout management in test scripts for better execution control
- Remove outdated testing strategy document
@chrisgleissner chrisgleissner merged commit 51e2068 into main Jan 31, 2026
41 checks passed
@chrisgleissner chrisgleissner deleted the build/improve-scripts branch January 31, 2026 10:17
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.

2 participants