From 8d88f71b1de2161a32fbf0c7068c591b9175eacc Mon Sep 17 00:00:00 2001 From: Yusuf Birader Date: Sat, 23 Sep 2023 22:18:30 +0100 Subject: [PATCH] rename cli to pzip --- .goreleaser.yaml | 2 +- Makefile | 2 +- README.md | 2 +- cmd/{cli => pzip}/main.go | 0 cmd/{cli => pzip}/pzip_test.go | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename cmd/{cli => pzip}/main.go (100%) rename cmd/{cli => pzip}/pzip_test.go (100%) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index f028176..044b7a6 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -8,7 +8,7 @@ builds: - env: - CGO_ENABLED=0 - GO111MODULE=on - main: ./cmd/cli/ + main: ./cmd/pzip/ binary: pzip goos: - linux diff --git a/Makefile b/Makefile index adcc425..6061309 100644 --- a/Makefile +++ b/Makefile @@ -5,4 +5,4 @@ test-short: go test -short ./... build: - go build -o ./cmd/cli/pzip ./cmd/cli + go build -o ./cmd/pzip ./cmd/pzip diff --git a/README.md b/README.md index 9100616..8be1e5d 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ go install github.com/ybirader/pzip To build from source, we require Go 1.21 or newer. 1. Clone the repository by running `git clone "https://github.com/ybirader/pzip.git"` -2. Build by running `make build` or `cd cmd/cli && go build` +2. Build by running `make build` or `cd cmd/pzip && go build` ## Usage diff --git a/cmd/cli/main.go b/cmd/pzip/main.go similarity index 100% rename from cmd/cli/main.go rename to cmd/pzip/main.go diff --git a/cmd/cli/pzip_test.go b/cmd/pzip/pzip_test.go similarity index 100% rename from cmd/cli/pzip_test.go rename to cmd/pzip/pzip_test.go