File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 2
2
all : lint test coverage check-licenses build
3
3
4
4
.PHONY : build
5
- build : cmd1 cmd2
5
+ build :
6
6
7
7
.PHONY : lint
8
8
lint : prepare
9
9
golangci-lint run
10
10
11
11
.PHONY : prepare
12
12
prepare :
13
- go mod vendor
13
+ go mod tidy
14
14
15
15
cmd1 cmd2 :
16
16
go build -ldflags " -X github.com/Eyevinn/{Name}/internal.commitVersion=$$ (git describe --tags HEAD) -X github.com/Eyevinn/{Name}/internal.commitDate=$$ (git log -1 --format=%ct)" -o out/$@ ./cmd/$@ /main.go
@@ -21,10 +21,7 @@ test: prepare
21
21
22
22
.PHONY : coverage
23
23
coverage :
24
- # Ignore (allow) packages without any tests
25
- set -o pipefail
26
24
go test ./... -coverprofile coverage.out
27
- set +o pipefail
28
25
go tool cover -html=coverage.out -o coverage.html
29
26
go tool cover -func coverage.out -o coverage.txt
30
27
tail -1 coverage.txt
Original file line number Diff line number Diff line change 1
- # {{Name}}
1
+ # VMAP
2
+
3
+ A small library for marshaling and unmarshaling VMAP and VAST.
2
4
3
- <!--
4
5
5
6
## Requirements
6
- Add any external project dependencies such as node.js version etc here
7
+ Go version 1.22 or higher
7
8
8
9
## Installation / Usage
9
10
10
- Add clear instructions on how to use the project here
11
+ This is a library meant to be downloaded and installed like other Go code.
12
+
13
+ To enable it in your Go project, run
14
+
15
+ ``` go get github.com/Eyevinn/VMAP ```
16
+
17
+ To use the library, add
18
+ ``` import github.com/Eyevinn/VMAP ```
11
19
12
20
## Development
13
21
14
22
Add clear instructions on how to start development of the project here
15
23
16
- -->
17
-
18
- ### Contributing
19
24
20
- See [ CONTRIBUTING] ( CONTRIBUTING.md )
21
25
22
26
# Support
23
27
You can’t perform that action at this time.
0 commit comments