Add docs, improve README
All checks were successful
Build and Publish / release (push) Successful in 1m22s

This commit is contained in:
2024-12-17 17:24:48 -05:00
parent 0bc1b89179
commit 373581c58a
22 changed files with 601 additions and 19 deletions

View File

@ -10,10 +10,10 @@ GO_FORMATTER := gofumpt
IS_GNU_SED := $(shell sed --version >/dev/null 2>&1 && echo true || echo false)
SED_INLINE := $(if $(filter true,$(IS_GNU_SED)),-i,-i '')
.PHONY: all tools schema generate test build install clean
.PHONY: all tools schema generate test build install docs clean
# Default target
all: tools schema generate test build install
all: tools schema generate test build docs install
tools:
go install golang.org/x/tools/cmd/stringer
@ -56,6 +56,9 @@ build: generate test
install:
go install -v $(CLIENT_PKG)
docs:
bin/eia-client docs md
# Clean up generated files and build artifacts
clean:
rm -rf bin/eia-client