Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-Apr-2019 | - | ||||
script/ | H | 03-Apr-2019 | - | 178 | 136 | |
Dockerfile | H A D | 03-Apr-2019 | 368 | 17 | 11 | |
LICENSE | H A D | 03-Apr-2019 | 10.5 KiB | 192 | 160 | |
Makefile | H A D | 03-Apr-2019 | 976 | 38 | 23 | |
README.md | H A D | 03-Apr-2019 | 1 KiB | 31 | 22 | |
bool.go | H A D | 03-Apr-2019 | 882 | 47 | 32 | |
bool_test.go | H A D | 03-Apr-2019 | 1.2 KiB | 46 | 34 | |
circle.yml | H A D | 03-Apr-2019 | 121 | 12 | 9 | |
common.go | H A D | 03-Apr-2019 | 8.5 KiB | 311 | 250 | |
common_test.go | H A D | 03-Apr-2019 | 17.2 KiB | 402 | 350 | |
glide.yaml | H A D | 03-Apr-2019 | 115 | 5 | 4 | |
string.go | H A D | 03-Apr-2019 | 4.9 KiB | 169 | 138 | |
string_test.go | H A D | 03-Apr-2019 | 6.3 KiB | 163 | 129 | |
time.go | H A D | 03-Apr-2019 | 6.2 KiB | 235 | 177 | |
time_test.go | H A D | 03-Apr-2019 | 27.6 KiB | 877 | 803 |
README.md
1# Shakers 2 + = [![Circle CI](https://circleci.com/gh/vdemeester/shakers.svg?style=svg)](https://circleci.com/gh/vdemeester/shakers) 3 4A collection of `go-check` Checkers to ease the use of it. 5 6## Building and testing it 7 8You need either [docker](https://github.com/docker/docker), or `go` 9and `glide` in order to build and test shakers. 10 11### Using Docker and Makefile 12 13You need to run the ``test-unit`` target. 14```bash 15$ make test-unit 16docker build -t "shakers-dev:master" . 17# […] 18docker run --rm -it "shakers-dev:master" ./script/make.sh test-unit 19---> Making bundle: test-unit (in .) 20+ go test -cover -coverprofile=cover.out . 21ok github.com/vdemeester/shakers 0.015s coverage: 96.0% of statements 22 23Test success 24``` 25 26### Using glide and `GO15VENDOREXPERIMENT` 27 28- Get the dependencies with `glide up` (or use `go get` but you have no garantuees over the version of the dependencies) 29- If you're using glide (and not standard `go get`) export `GO15VENDOREXPERIMENT` with `export GO15VENDOREXPERIMENT=1` 30- Run tests with `go test .` 31