added a Makefile and updated the readme

This commit is contained in:
Luxferre
2026-03-21 17:16:48 +02:00
parent 6e2294cb48
commit a18f86a23e
2 changed files with 47 additions and 5 deletions
+11 -5
View File
@@ -49,7 +49,7 @@ toolsets = ["filesystem"]
To use Sidekick as a framework in your own Go projects:
```bash
go get github.com/yourusername/sidekick-ng
go get codeberg.org/luxferre/sidekick-ng
```
### Installing the TUI
@@ -57,13 +57,19 @@ go get github.com/yourusername/sidekick-ng
To install the Sidekick TUI binary globally:
```bash
go install github.com/yourusername/sidekick-ng/cmd/sidekick-tui@latest
go install codeberg.org/luxferre/sidekick-ng/cmd/sidekick-tui@latest
```
Alternatively, you can build it locally from the source:
Alternatively, you can build it locally from the source using the provided `Makefile`:
```bash
git clone https://github.com/yourusername/sidekick-ng.git
make
```
Or manually:
```bash
git clone https://codeberg.org/luxferre/sidekick-ng.git
cd sidekick-ng
go build -o bin/sidekick-tui ./cmd/sidekick-tui
```
@@ -170,7 +176,7 @@ import (
"fmt"
"log"
"github.com/yourusername/sidekick-ng"
"codeberg.org/luxferre/sidekick-ng"
)
func main() {