chore: streamline build, release, and install setup#10
Merged
Conversation
Move git hooks from scripts/ to .githooks/ directory managed by sr. Configure commit-msg, pre-commit (format + lint), and pre-push (test) hooks in sr.yaml for consistency and maintainability.
Remove scripts/compile_latex.sh which is no longer used by the project.
Add binaries job to release workflow to automatically build and upload prebuilt binaries for x86_64 and aarch64 on Linux and macOS. Export tag from release job outputs for use in downstream jobs.
Remove complex just recipes and rely on direct cargo commands. Keep only install, build, test, and fmt. This reduces dependency on task runner and makes commands more transparent to users.
Add install.sh script to download and install prebuilt binaries from GitHub releases. Supports Linux and macOS with x86_64 and aarch64 architectures, automating binary discovery and installation.
Remove references to just task runner and update examples to use direct cargo and lgp commands. Simplify setup instructions to focus on cargo install and remove obsolete manual hooks setup documentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
release.ymlworkflow triggers correctly on new tagsinstall.shon Linux and macOSjustcommands work as expected