mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-23 18:49:17 +08:00
Make tikv filer enable/disable by build tags
This commit is contained in:
parent
13159ad0d8
commit
824cbe32be
4
Makefile
4
Makefile
@ -8,7 +8,7 @@ install:
|
||||
cd weed; go install
|
||||
|
||||
full_install:
|
||||
cd weed; go install -tags "elastic gocdk sqlite ydb"
|
||||
cd weed; go install -tags "elastic gocdk sqlite ydb tikv"
|
||||
|
||||
test:
|
||||
cd weed; go test -tags "elastic gocdk sqlite ydb" -v ./...
|
||||
cd weed; go test -tags "elastic gocdk sqlite ydb tikv" -v ./...
|
||||
|
@ -1,5 +1,6 @@
|
||||
package tikv
|
||||
|
||||
/*
|
||||
* Package tikv is for TiKV filer store.
|
||||
* This empty file is let go build can work without tikv tag
|
||||
* Using "make full_install" to enable TiKV filer store.
|
||||
*/
|
||||
package tikv
|
||||
|
@ -1,3 +1,6 @@
|
||||
//go:build tikv
|
||||
// +build tikv
|
||||
|
||||
package tikv
|
||||
|
||||
import (
|
||||
|
@ -1,3 +1,6 @@
|
||||
//go:build tikv
|
||||
// +build tikv
|
||||
|
||||
package tikv
|
||||
|
||||
import (
|
||||
|
Loading…
Reference in New Issue
Block a user