From 8b3269be4f95c4c3d5b17e82a9fc48a22ac12f32 Mon Sep 17 00:00:00 2001 From: Darp Alakun Date: Sat, 4 Jan 2025 20:47:11 -0500 Subject: [PATCH] fix: correct go install command in Makefile --- .gitignore | 6 ++++++ Makefile | 4 ++-- x/{health => home}/handlers/api.go | 0 x/{health => home}/handlers/data.go | 0 x/{health => home}/handlers/view.go | 0 x/{health => home}/routes.go | 0 x/{index => spawn}/handlers/api.go | 0 x/{index => spawn}/handlers/data.go | 0 x/{index => spawn}/handlers/view.go | 0 x/{index => spawn}/routes.go | 0 10 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .gitignore rename x/{health => home}/handlers/api.go (100%) rename x/{health => home}/handlers/data.go (100%) rename x/{health => home}/handlers/view.go (100%) rename x/{health => home}/routes.go (100%) rename x/{index => spawn}/handlers/api.go (100%) rename x/{index => spawn}/handlers/data.go (100%) rename x/{index => spawn}/handlers/view.go (100%) rename x/{index => spawn}/routes.go (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..90bf051 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.DS_Store +.aider* +.vscode +.idea +bin +tmp diff --git a/Makefile b/Makefile index dea8f50..eac3f82 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,10 @@ export RELEASE_DATE="$(date +%Y).$(date +%V).$(date +%u)" all: install test build: go.sum - go build -o build/hway . + go build -o bin/hway . install: go.sum - go install -mod=readonly ./cmd/hway + go install -mod=readonly . ######################################## ### Tools & dependencies diff --git a/x/health/handlers/api.go b/x/home/handlers/api.go similarity index 100% rename from x/health/handlers/api.go rename to x/home/handlers/api.go diff --git a/x/health/handlers/data.go b/x/home/handlers/data.go similarity index 100% rename from x/health/handlers/data.go rename to x/home/handlers/data.go diff --git a/x/health/handlers/view.go b/x/home/handlers/view.go similarity index 100% rename from x/health/handlers/view.go rename to x/home/handlers/view.go diff --git a/x/health/routes.go b/x/home/routes.go similarity index 100% rename from x/health/routes.go rename to x/home/routes.go diff --git a/x/index/handlers/api.go b/x/spawn/handlers/api.go similarity index 100% rename from x/index/handlers/api.go rename to x/spawn/handlers/api.go diff --git a/x/index/handlers/data.go b/x/spawn/handlers/data.go similarity index 100% rename from x/index/handlers/data.go rename to x/spawn/handlers/data.go diff --git a/x/index/handlers/view.go b/x/spawn/handlers/view.go similarity index 100% rename from x/index/handlers/view.go rename to x/spawn/handlers/view.go diff --git a/x/index/routes.go b/x/spawn/routes.go similarity index 100% rename from x/index/routes.go rename to x/spawn/routes.go