From 29db69920252d2735d12441ac254199958bd5d42 Mon Sep 17 00:00:00 2001 From: agatha Date: Sun, 12 May 2024 16:15:50 -0400 Subject: [PATCH] update Makefile --- Makefile | 2 +- README.md | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4462ab0..f5da67e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ GOCMD=go GOBUILD=$(GOCMD) build GOCLEAN=$(GOCMD) clean -CLI_BINARY_NAME=ketotrack-cli +CLI_BINARY_NAME=ketotrack CLI_BUILD_DIR=./cmd/cli .PHONY: all cli clean test diff --git a/README.md b/README.md index d8a9afe..8b38384 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,9 @@ Simple ketosis tracker written in Go. Reading data will be saved to `$HOME/.ketotrack/records.json` and graphing will be implemented at a later date. ## Building and Installing -At some point I'll include a Makefile, until then manually build and copy to any directory in your path. +Use the provided make file and then move the binary to your directory choice: ```shell -cd cmd/cli -go build -o ketotrack -mv ketotrack $HOME/.local/bin +make +mv ketotrack ~/.local/bin/ ```