From 0efb06c47bf1367e92644a797e25535d5b50d122 Mon Sep 17 00:00:00 2001 From: Jelloeater Date: Sun, 1 Sep 2024 14:44:04 -0400 Subject: [PATCH] fix: Added install info --- README.md | 15 +++++++++++++++ Taskfile.yaml | 3 +++ go.mod | 2 +- main.go | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aa99f12..c261f0b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,20 @@ # Stampy +## Install +Use https://github.com/zyedidia/eget + +```shell +curl https://zyedidia.github.io/eget.sh | sh +sudo mv eget /usr/local/bin +sudo eget Jelloeater/stampy --to /usr/local/bin +``` + +Or if you have Go installed + +```shell +go install github.com/Jelloeater/stampy@latest +``` + ## Usage ```shell diff --git a/Taskfile.yaml b/Taskfile.yaml index b716184..64867d9 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -3,6 +3,9 @@ version: '3' tasks: default: cmds: + - go mod download + - go mod tidy + - go mod verify - go fmt . - go vet . - go clean . diff --git a/go.mod b/go.mod index 62d9e8a..81885ff 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module stampy +module github.com/Jelloeater/stampy go 1.22 diff --git a/main.go b/main.go index 9ada5e0..07c73fa 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -package main +package stampy import ( "github.com/atotto/clipboard"