Skip to content

Commit

Permalink
README.md: document how to install from source
Browse files Browse the repository at this point in the history
commit-id:af2e94b5
  • Loading branch information
leoluk committed Dec 18, 2021
1 parent 6ef3e53 commit 16373aa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ Installation
### Manual
Download the pre-compiled binaries from the [releases page](https://github.com/ejoffe/spr/releases) and copy to your bin path.

### From source

Assuming you want to put the binaries into `~/.local/bin`:

```
git clone https://github.com/ejoffe/spr
cd spr
go build -o ~/.local/bin/git-spr github.com/ejoffe/spr/cmd/spr
go build -o ~/.local/bin/git-amend github.com/ejoffe/spr/cmd/amend
go build -o ~/.local/bin/spr_commit_hook github.com/ejoffe/spr/cmd/commithook
go build -o ~/.local/bin/spr_reword_helper github.com/ejoffe/spr/cmd/reword
```

Workflow
--------
Commit your changes to a branch as you normally do. Note that every commit will end up becoming a pull request.
Expand Down

0 comments on commit 16373aa

Please sign in to comment.