customize building with lmdv

This commit is contained in:
siddontang 2015-03-11 11:54:16 +08:00
parent 186ed2f84f
commit 5f0c295dd5
4 changed files with 9 additions and 3 deletions

View File

@ -16,12 +16,18 @@ all: build
build:
$(GO) install -tags '$(GO_BUILD_TAGS)' ./...
build_use_lmdb:
$(GO) install -tags '$(GO_BUILD_TAGS) lmdb' ./...
clean:
$(GO) clean -i ./...
test:
$(GO) test --race -tags '$(GO_BUILD_TAGS)' ./...
test_use_lmdb:
$(GO) test --race -tags '$(GO_BUILD_TAGS) lmdb' ./...
test_ledis:
$(GO) test --race -tags '$(GO_BUILD_TAGS)' ./ledis

View File

@ -1,4 +1,4 @@
// +build !windows
// +build lmdb
package mdb

View File

@ -1,4 +1,4 @@
// +build !windows
// +build lmdb
package mdb

View File

@ -1,4 +1,4 @@
// +build !windows
// +build lmdb
package mdb