d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
0
|
.PHONY: all build test help |
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
1
|
all: help |
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
2
|
|
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
3
|
build: ## Build the project |
493878e |
Jakob Wakeling |
2024-12-07 16:39:00 |
4
|
@go build -C ./src/binclude -o ../../bin/binclude . |
5f634e1 |
Jakob Wakeling |
2024-05-31 15:15:34 |
5
|
@go build -C ./src/cbor -o ../../bin/cbor . |
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
6
|
@go build -C ./src/unixtime -o ../../bin/unixtime . |
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
7
|
|
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
8
|
test: ## Run unit tests |
493878e |
Jakob Wakeling |
2024-12-07 16:39:00 |
9
|
@go test ./... |
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
10
|
|
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
11
|
help: ## Display help information |
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
12
|
@grep -E '^[a-zA-Z_-]+:.*?##.*$$' $(MAKEFILE_LIST) | \ |
d88ffe6 |
Jakob Wakeling |
2024-05-23 12:42:30 |
13
|
awk 'BEGIN {FS = ":.*?## *"}; {printf "\033[36m%-6s\033[0m %s\n", $$1, $$2}' |
|
|
|
14
|
|