mirror of https://github.com/ledisdb/ledisdb.git
customize building with lmdv
This commit is contained in:
parent
186ed2f84f
commit
5f0c295dd5
6
Makefile
6
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows
|
||||
// +build lmdb
|
||||
|
||||
package mdb
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows
|
||||
// +build lmdb
|
||||
|
||||
package mdb
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !windows
|
||||
// +build lmdb
|
||||
|
||||
package mdb
|
||||
|
||||
|
|
Loading…
Reference in New Issue