iriq 0.2.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Makefile DELETED
@@ -1,56 +0,0 @@
1
- # Iriq Go binary — build/install/clean/uninstall helpers.
2
- #
3
- # make - same as `make help`
4
- # make build - build into ./bin/iriq
5
- # make install - go install into $GOBIN (defaults to $GOPATH/bin)
6
- # make test - go test ./...
7
- # make clean - remove ./bin/
8
- # make uninstall - remove the binary from $GOBIN
9
- #
10
- # Ruby gem build/install is handled by Bundler/RubyGems; see CLAUDE.md.
11
-
12
- GO ?= go
13
- BIN_DIR := bin
14
- BIN := $(BIN_DIR)/iriq
15
- PKG := ./cmd/iriq
16
-
17
- # Resolve $GOBIN, falling back to $GOPATH/bin (Go's default install location).
18
- GOBIN := $(shell $(GO) env GOBIN)
19
- ifeq ($(GOBIN),)
20
- GOBIN := $(shell $(GO) env GOPATH)/bin
21
- endif
22
- INSTALLED := $(GOBIN)/iriq
23
-
24
- .DEFAULT_GOAL := help
25
- .PHONY: help build install test clean uninstall
26
-
27
- help:
28
- @echo "Iriq Go targets:"
29
- @echo " make build build into $(BIN)"
30
- @echo " make install go install into $(GOBIN)"
31
- @echo " make test run go test ./..."
32
- @echo " make clean remove $(BIN_DIR)/"
33
- @echo " make uninstall remove $(INSTALLED)"
34
-
35
- build:
36
- @mkdir -p $(BIN_DIR)
37
- $(GO) build -o $(BIN) $(PKG)
38
- @echo "built $(BIN)"
39
-
40
- install:
41
- $(GO) install $(PKG)
42
- @echo "installed $(INSTALLED)"
43
-
44
- test:
45
- $(GO) test ./...
46
-
47
- clean:
48
- rm -rf $(BIN_DIR)
49
- @echo "removed $(BIN_DIR)/"
50
-
51
- uninstall:
52
- @if [ -f "$(INSTALLED)" ]; then \
53
- rm "$(INSTALLED)" && echo "removed $(INSTALLED)"; \
54
- else \
55
- echo "not installed at $(INSTALLED)"; \
56
- fi