David K. Bainbridge | 528b318 | 2017-01-23 08:51:59 -0800 | [diff] [blame^] | 1 | # Copyright 2016 Canonical Ltd. |
2 | # Licensed under the LGPLv3, see LICENCE file for details. | ||||
3 | |||||
4 | default: check | ||||
5 | |||||
6 | check: | ||||
7 | go test | ||||
8 | |||||
9 | docs: | ||||
10 | godoc2md github.com/juju/ansiterm > README.md | ||||
11 | sed -i 's|\[godoc-link-here\]|[![GoDoc](https://godoc.org/github.com/juju/ansiterm?status.svg)](https://godoc.org/github.com/juju/ansiterm)|' README.md | ||||
12 | |||||
13 | |||||
14 | .PHONY: default check docs |