1cbf8afb4a
- Untrack and delete compiled binaries (tarsum, gosoft.exe, rust uniq/uniq2);
ignore build outputs (dist/, bin/, *.exe, *.test, .ruff_cache/)
- Merge tools/go/ and projects/go-tools/go/ into projects/go-tools/<name>/
- Fix goipgrep .gitignore: bare 'ipgrep' pattern was ignoring cmd/ipgrep/,
so the main entrypoint was never tracked; now anchored to /ipgrep
- Archive duplicate implementations to archive/experimental/{rust,go}/
(uniq, between, tarsum rewrites); canonical versions stay in tools/
- Update README tool catalog to match new layout
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
23 lines
283 B
Makefile
23 lines
283 B
Makefile
.PHONY: build test fmt lint clean
|
|
|
|
UNAME_S := $(shell uname -s)
|
|
TEST_LDFLAGS :=
|
|
ifeq ($(UNAME_S),Darwin)
|
|
TEST_LDFLAGS := -ldflags='-linkmode=external'
|
|
endif
|
|
|
|
build:
|
|
./scripts/build.sh
|
|
|
|
test:
|
|
go test $(TEST_LDFLAGS) ./...
|
|
|
|
fmt:
|
|
gofmt -w .
|
|
|
|
lint:
|
|
go vet ./...
|
|
|
|
clean:
|
|
rm -rf dist
|