Compare commits

..

No commits in common. "29db69920252d2735d12441ac254199958bd5d42" and "ea76685f8f85e5ce63589e6d35890f47cebed185" have entirely different histories.

2 changed files with 4 additions and 20 deletions

View File

@ -1,17 +0,0 @@
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
CLI_BINARY_NAME=ketotrack
CLI_BUILD_DIR=./cmd/cli
.PHONY: all cli clean test
all: cli
cli:
$(GOBUILD) -o $(CLI_BINARY_NAME) $(CLI_BUILD_DIR)
clean:
$(GOCLEAN)
rm -f $(CLI_BINARY_NAME)

View File

@ -8,9 +8,10 @@ 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
Use the provided make file and then move the binary to your directory choice:
At some point I'll include a Makefile, until then manually build and copy to any directory in your path.
```shell
make
mv ketotrack ~/.local/bin/
cd cmd/cli
go build -o ketotrack
mv ketotrack $HOME/.local/bin
```