Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 23, 2025

This PR adds a comprehensive justfile to streamline development workflows and bumps the project version from 0.1.5 to 0.1.6.

Changes Made

📋 Justfile Commands Added

The new justfile provides the following useful commands for developers:

Build & Run:

  • just build - Build in debug mode
  • just build-release - Build in release mode
  • just run [args] - Run the application with optional arguments
  • just build-multi - Multi-platform builds using existing build script

Code Quality:

  • just check - Fast error checking
  • just clippy - Run linter
  • just fmt - Format code
  • just fmt-check - Check formatting
  • just fix - Auto-fix linting issues

Testing & Development:

  • just test - Run tests
  • just dev - Development workflow (format + check + test)
  • just quick - Quick check (check + clippy)
  • just ci - Full CI workflow
  • just release - Release workflow (ci + release build)

Utilities:

  • just clean - Clean build artifacts
  • just install - Install binary to ~/.cargo/bin
  • just update - Update dependencies
  • just deps - Show dependency tree
  • just info - Show project information

🔄 Version Bump

  • Updated version from 0.1.5 to 0.1.6 in Cargo.toml
  • The version module automatically picks up the new version via CARGO_PKG_VERSION

🧹 Code Cleanup

As part of testing the justfile commands, several linting issues were automatically fixed:

  • Removed unused imports
  • Applied modern Rust formatting patterns
  • Fixed derivable implementations

Usage

After this PR, developers can use simple commands like:

just info          # Show project info
just dev           # Quick development workflow  
just build-release  # Production build
just --list        # See all available commands

This significantly improves the developer experience by providing consistent, discoverable commands for common tasks.

Fixes #1.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: RobbyV2 <81977892+RobbyV2@users.noreply.github.com>
Copilot AI changed the title [WIP] Justfile Add justfile with useful commands and bump version to 0.1.6 Jul 23, 2025
Copilot AI requested a review from RobbyV2 July 23, 2025 20:56
@RobbyV2
Copy link
Owner

RobbyV2 commented Jul 23, 2025

error[E0433]: failed to resolve: use of unresolved module or unlinked crate env
--> src/input/mod.rs:40:37
|
40 | let shell = env::var("SHELL").unwrap_or_default();
| ^^^ use of unresolved module or unlinked crate env
|
= help: if you wanted to use a crate named env, use cargo add env to add it to your Cargo.toml

@RobbyV2 RobbyV2 self-requested a review July 23, 2025 21:00
@RobbyV2 RobbyV2 marked this pull request as ready for review July 23, 2025 21:01
Co-authored-by: RobbyV2 <81977892+RobbyV2@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jul 23, 2025

error[E0433]: failed to resolve: use of unresolved module or unlinked crate env
--> src/input/mod.rs:40:37
|
...

Fixed the missing std::env import in commit 46e3461. The import was accidentally removed during automatic linting but is needed for the Windows-specific code that checks the SHELL environment variable. The build now passes for both Linux and Windows targets.

@RobbyV2 RobbyV2 merged commit 31cc24e into main Jul 23, 2025
7 checks passed
@RobbyV2 RobbyV2 deleted the copilot/fix-1 branch July 25, 2025 04:36
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.

Justfile

2 participants