Skip to content

Commit ac31d96

Browse files
authored
Merge pull request #13 from gurnben/add-makefile-quick-start
Add one-command build/setup: Makefile + Quick Start [Generated by gurnben's Agent]
2 parents 298c123 + 681cd21 commit ac31d96

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
BINARY ?= ocm-csv-parser
2+
3+
.PHONY: build test fmt vet clean
4+
5+
build:
6+
go build -o $(BINARY) ./...
7+
8+
test:
9+
go test ./... -v
10+
11+
fmt:
12+
gofmt -w .
13+
14+
vet:
15+
go vet ./...
16+
17+
clean:
18+
rm -f $(BINARY)

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# ocm-csv-parser
22
Parser CLI to format csv data to be consumed by OCM services
33

4+
## Quick Start
5+
6+
```bash
7+
make build # Build the ocm-csv-parser binary
8+
make test # Run tests
9+
```
10+
411
## Build
512

613
---

0 commit comments

Comments
 (0)