mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 17:18:59 +00:00
12 lines
290 B
Makefile
12 lines
290 B
Makefile
|
default: check
|
||
|
|
||
|
check:
|
||
|
go test && go test -compiler gccgo
|
||
|
|
||
|
docs:
|
||
|
godoc2md github.com/juju/errors > README.md
|
||
|
sed -i 's|\[godoc-link-here\]|[![GoDoc](https://godoc.org/github.com/juju/errors?status.svg)](https://godoc.org/github.com/juju/errors)|' README.md
|
||
|
|
||
|
|
||
|
.PHONY: default check docs
|