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: build:
$(GO) install -tags '$(GO_BUILD_TAGS)' ./... $(GO) install -tags '$(GO_BUILD_TAGS)' ./...
build_use_lmdb:
$(GO) install -tags '$(GO_BUILD_TAGS) lmdb' ./...
clean: clean:
$(GO) clean -i ./... $(GO) clean -i ./...
test: test:
$(GO) test --race -tags '$(GO_BUILD_TAGS)' ./... $(GO) test --race -tags '$(GO_BUILD_TAGS)' ./...
test_use_lmdb:
$(GO) test --race -tags '$(GO_BUILD_TAGS) lmdb' ./...
test_ledis: test_ledis:
$(GO) test --race -tags '$(GO_BUILD_TAGS)' ./ledis $(GO) test --race -tags '$(GO_BUILD_TAGS)' ./ledis

View File

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

View File

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

View File

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