• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-Apr-2019-

script/H03-Apr-2019-178136

DockerfileH A D03-Apr-2019368 1711

LICENSEH A D03-Apr-201910.5 KiB192160

MakefileH A D03-Apr-2019976 3823

README.mdH A D03-Apr-20191 KiB3122

bool.goH A D03-Apr-2019882 4732

bool_test.goH A D03-Apr-20191.2 KiB4634

circle.ymlH A D03-Apr-2019121 129

common.goH A D03-Apr-20198.5 KiB311250

common_test.goH A D03-Apr-201917.2 KiB402350

glide.yamlH A D03-Apr-2019115 54

string.goH A D03-Apr-20194.9 KiB169138

string_test.goH A D03-Apr-20196.3 KiB163129

time.goH A D03-Apr-20196.2 KiB235177

time_test.goH A D03-Apr-201927.6 KiB877803

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