Skip to content

Use mise for bootstrapping and task running#15

Merged
hisaac merged 1 commit intomainfrom
hisaac/mise
Dec 2, 2025
Merged

Use mise for bootstrapping and task running#15
hisaac merged 1 commit intomainfrom
hisaac/mise

Conversation

@hisaac
Copy link
Owner

@hisaac hisaac commented Dec 2, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 2, 2025 16:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the project's build tooling from a traditional Make-based approach to mise for dependency management and task orchestration. The change introduces mise for bootstrapping development tools (xcbeautify, xcodes) and standardizes task execution across local development and CI environments.

Key Changes:

  • Replaced Makefile with mise.toml for task definitions and tool management
  • Migrated build script from build.sh to build.bash with improved error handling and debug support
  • Updated GitHub Actions workflow to use mise-action for consistent tooling

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/build.sh Removed old shell script in favor of new build.bash
scripts/build.bash New build script with enhanced error handling, debug tracing, and environment variable support
mise.toml Added mise configuration for tool management (xcbeautify, xcodes) and task definitions (bootstrap, build, clean)
Makefile Removed in favor of mise.toml task definitions
.github/workflows/build.yml Updated to use mise-action and expanded trigger conditions to include workflow_dispatch and release branches

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

function main() {
xcrun xcodebuild build \
-scheme "CenterMouse" \
-derivedDataPath "${PROJECT_ROOT}/DerivedData" \
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

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

The -clonedSourcePackagesDirPath parameter was removed from the xcodebuild command. This was present in the original build.sh script and may be necessary for package dependency management. Verify this removal is intentional, or add it back: -clonedSourcePackagesDirPath \"${PROJECT_ROOT}/DerivedData/Packages\"

Suggested change
-derivedDataPath "${PROJECT_ROOT}/DerivedData" \
-derivedDataPath "${PROJECT_ROOT}/DerivedData" \
-clonedSourcePackagesDirPath "${PROJECT_ROOT}/DerivedData/Packages" \

Copilot uses AI. Check for mistakes.
fi

function main() {
xcrun xcodebuild build \
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

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

The clean operation was removed from the xcodebuild command (original was clean build). This means builds will no longer clean before building by default. Consider whether this is intentional or if clean should be added back to ensure consistent builds.

Suggested change
xcrun xcodebuild build \
xcrun xcodebuild clean build \

Copilot uses AI. Check for mistakes.
@hisaac hisaac merged commit 3bf0204 into main Dec 2, 2025
1 check passed
@hisaac hisaac deleted the hisaac/mise branch December 2, 2025 16:46
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