Commit graph

36 commits

Author SHA1 Message Date
Cody Soyland
17c6dc3ae4 Run touch vendor in make vendor so that dep ensure is only run when needed. 2017-07-25 16:55:38 -05:00
Cody Soyland
5bc9c43611 Switch from glide to dep for dependency management. Fixes #732.
This implements the new `dep` command into our build process and removes
all references to Glide.
2017-07-21 11:09:43 -05:00
Cody Soyland
1cb94baa31 Add -n to tail command for GNU-tail compatibility 2017-06-26 16:33:48 -05:00
Cody Soyland
7635737487 Add coverage tools to Makefile
`make cover-viz` will now generate an HTML coverage report for the
entire codebase.
2017-06-12 15:20:26 -05:00
Cody Soyland
188eaefb57 Remove unintentional dash from LDFLAGS 2017-06-12 14:21:32 -05:00
Matt Jaffee
6b307f32e0 make sure glide is installed before glide install
If glide is not installed, then $(GLIDE) is empty, so I guess the $(GLIDE)
target gets ignored? The impetus for this is that `make install` was failing on
a fresh ubuntu instance saying glide wasn't found.
2017-06-07 15:12:28 -05:00
Cody Soyland
fd2592e261 Add "test" to PHONY list in Makefile 2017-06-05 15:45:36 -05:00
Ben Johnson
ca29f7692b
Fix failing tests when IPv6 is disabled.
Turning off IPv6 causes the tests to fail because the Go
`net.Listen()` function obtains a `[::]` address when using
a `localhost:0` bind address. Looking through the Go source
code, I don't see a good way to fix that.

This change adds a test flag to allow users to specify the
network name when running the test:

```sh
go test github.com/pilosa/pilosa/server -network tcp4
```
2017-06-01 14:43:59 -06:00
Michael Baird
b0f8d5d8f9 Merge remote-tracking branch 'origin/master' into metrics
Conflicts:
	cmd/server.go
	ctl/config.go
2017-05-23 10:07:44 -05:00
Cody Soyland
124a2e62a8 Remove curly braces (fails on some systems) 2017-05-22 11:35:02 -05:00
Cody Soyland
9deee72bda Add 32-bit build to release process 2017-05-19 16:27:49 -05:00
Michael Baird
19ff6a2bd5 make fix after merge conflict 2017-05-16 16:45:53 -05:00
Michael Baird
143cc14b1a Merge branch 'master' into metrics 2017-05-16 14:03:16 -05:00
Cody Soyland
3a1bcc353e Add release target in Makefile 2017-05-10 14:04:09 -05:00
Cody Soyland
6c11746ac8 Fix vendor target as to not call "glide install" on every invocation 2017-05-10 13:59:34 -05:00
Cody Soyland
86c254bdbd Keep ldflags in one place 2017-05-10 13:57:41 -05:00
Michael Baird
bd44949cb5 Merge remote-tracking branch 'origin/master' into metrics
Conflicts:
	config.go
	executor_test.go
	server/server.go
2017-05-09 11:31:14 -05:00
Michael Baird
bf6ed942f0 Merge pull request #8 from alanbernstein/stats
Stats
2017-05-09 11:15:23 -05:00
Yuce Tekol
df59037942
Update golang to 1.8.1; fix pilosa binary version and build time; download precompiled glide 2017-05-04 02:05:09 +03:00
Alan Bernstein
5dd09f585d update makefile to better install/generate statik 2017-04-28 15:28:07 -05:00
Cody Soyland
18f6d3cd15 Separate go generate make targets, remove generate from test requirements 2017-04-24 12:16:44 -05:00
Cody Soyland
1cdbca1a1e Install statik in build process, fix glide.yaml 2017-04-24 11:22:28 -05:00
Alan Bernstein
83e13bec74 Move version vars to pilosa package 2017-04-21 10:14:21 -05:00
Yuce Tekol
8e982d2479 if a version is not found, set it as unknown; do not display No names found error message 2017-03-09 21:28:50 +03:00
Matt Jaffee
8e0d64fe06 give appropriate path in ldflags for BuildTime and Version 2017-03-09 10:55:53 -06:00
Yuce Tekol
a446d7b9e6 Updated Dockerfile to use go 1.8 and ldflags; removed pilosactl stuff from Makefile, send ldflags to build container. 2017-03-09 11:14:01 +03:00
Matt Jaffee
f47c3a4521 fix spaces/tab issue in Makefile 2017-03-08 13:55:18 -06:00
Matt Jaffee
0202c9b849 add float support to proto format
floating point attrs are now fully supported
2017-03-07 15:40:50 -06:00
Yuce Tekol
c7a0aa371d Installs glide in the docker container 2017-02-20 20:11:58 +03:00
Cody Soyland
be873afe2b Add GOPATH/bin to Makefile for Travis CI 2017-02-17 16:37:36 -06:00
Cody Soyland
d9b71bba21 Fix glide initial install 2017-02-17 16:37:36 -06:00
Cody Soyland
2d09731dfd Add Makefile and versioning/build time in pilosa/pilosactl 2017-02-17 16:37:36 -06:00
Yuce Tekol
bf71ef036d Added build container 2017-02-04 13:00:21 +03:00
Yuce Tekol
741c073dd0 Added initial Dockerfile and docker target 2017-02-03 17:37:44 +03:00
Ben Johnson
2756c5295b add protobuf/testdata, fix Makefile
This commit re-adds the `testdata` folder that godeps strips and
also updates the `Makefile` to add a `vendor` target that will
handle this in the future.
2016-04-26 08:48:04 -06:00
Ben Johnson
f822215be9 godep
This commit moves dependency management to use godep and the
new experimental vendoring support in Go 1.5.

NOTE: You must set `GO15VENDOREXPERIMENT` in your bash environment
for vendoring to work properly! See the updated `README` for details.
2015-09-03 13:52:45 -06:00