fix: Remove unused variable warning and add release build script

- Fix unused `project_path` parameter warning in make_executable()
- Add build-release.sh for automated binary packaging
- Update .gitignore to exclude release artifacts
- Support cross-compilation for Linux and Windows binaries

Release artifacts are now built with ./build-release.sh and uploaded
to Gitea releases separately, keeping the git repo clean.
This commit is contained in:
Eric Ratliff
2026-01-25 00:26:58 -06:00
parent 70a1acc2a1
commit 90ed42b3c5
4 changed files with 93 additions and 8 deletions

View File

@@ -86,7 +86,7 @@ weevil sdk status
### From Source
```bash
git clone https://github.com/yourusername/weevil.git
git clone https://www.nxgit.dev/nexus-workshops/weevil.git
cd weevil
cargo build --release
sudo cp target/release/weevil /usr/local/bin/
@@ -255,7 +255,7 @@ weevil new competition-bot
cd competition-bot
# Project is already a git repo!
git remote add origin https://github.com/team/robot.git
git remote add origin https://nxgit.dev/team/robot.git
git push -u origin main
# Make changes
@@ -287,7 +287,7 @@ git push
**Project Structure is Portable:**
```bash
# Team member clones repo
git clone https://github.com/team/robot.git
git clone https://nxgit.dev/team/robot.git
cd robot
# Check SDK location
@@ -466,7 +466,7 @@ Contributions welcome! Please:
### Development Setup
```bash
git clone https://github.com/yourusername/weevil.git
git clone https://www.nxgit.dev/nexus-workshops/weevil.git
cd weevil
cargo build
cargo test
@@ -511,7 +511,7 @@ Built with frustration at unnecessarily complex robotics frameworks, and hope th
## Project Status
**Current Version:** 1.0.0-beta1
**Current Version:** 1.0.0-beta2
**What Works:**
- ✅ Project generation
@@ -532,4 +532,4 @@ Built with frustration at unnecessarily complex robotics frameworks, and hope th
**Questions? Issues? Suggestions?**
Open an issue on GitHub or reach out to the FTC community. Let's make robot programming accessible for everyone! 🚀
Open an issue on NXGit or reach out to the FTC community. Let's make robot programming accessible for everyone! 🚀