Add make install and improve installation docs#42
Conversation
- Add make install target that delegates to go install ./cmd/pomodoro - Update README with make install option for local development - Follows standard Go CLI project conventions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.
Pull Request Overview
This PR adds a convenient make install target for local development and updates the installation documentation to include this new option. The changes follow standard Go CLI project conventions by providing a simple way to install the binary from a cloned repository.
- Add
make installtarget that delegates togo install ./cmd/pomodoro - Update README with installation instructions for the new make target
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Makefile | Adds new install target for installing the binary locally |
| README.md | Updates installation documentation to include the new make install option |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Add Version variable to cmd/pomodoro/main.go that defaults to "dev". This ensures the version subcommand works when installing via go install, showing "dev" for development builds and proper version when built with LDFLAGS. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
justincampbell
left a comment
There was a problem hiding this comment.
Updated PR to fix version info for go install builds. Please re-review the changes.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Summary
make installtarget that delegates togo install ./cmd/pomodoromake installoption for local developmentTest plan
make installworks locally🤖 Generated with Claude Code