Skip to content

Commit

Permalink
revert(goleveldb): remove goleveldb flag
Browse files Browse the repository at this point in the history
because it's too disruptive for existing users
  • Loading branch information
melekes committed Sep 23, 2024
1 parent 9b8cce9 commit f49901a
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 31 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@ all: lint test
#? test: Run pure Go tests only
test:
@echo "--> Running go test"
@go test $(PACKAGES) -tags goleveldb,boltdb,badgerdb
@go test $(PACKAGES) -tags boltdb,badgerdb
.PHONY: test

#? test-goleveldb: Run goleveldb tests
test-goleveldb:
@echo "--> Running go test"
@go test $(PACKAGES) -tags goleveldb -v
.PHONY: test-goleveldb

#? test-cleveldb: Run cleveldb tests
test-cleveldb:
@echo "--> Running go test"
Expand Down Expand Up @@ -62,7 +56,7 @@ test-all-with-coverage:
-race \
-coverprofile=coverage.txt \
-covermode=atomic \
-tags=goleveldb,cleveldb,boltdb,rocksdb,badgerdb\
-tags=cleveldb,boltdb,rocksdb,badgerdb\
-v
.PHONY: test-all-with-coverage

Expand Down
10 changes: 0 additions & 10 deletions UPGRADING.md

This file was deleted.

1 change: 0 additions & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const (
// - UNMAINTANED
// - pure go
// - stable
// - use goleveldb build tag (go build -tags goleveldb)
GoLevelDBBackend BackendType = "goleveldb"
// CLevelDBBackend represents cleveldb (uses levigo wrapper)
// - DEPRECATED
Expand Down
3 changes: 0 additions & 3 deletions goleveldb.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build goleveldb
// +build goleveldb

package db

import (
Expand Down
3 changes: 0 additions & 3 deletions goleveldb_batch.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build goleveldb
// +build goleveldb

package db

import (
Expand Down
3 changes: 0 additions & 3 deletions goleveldb_iterator.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build goleveldb
// +build goleveldb

package db

import (
Expand Down
3 changes: 0 additions & 3 deletions goleveldb_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build goleveldb
// +build goleveldb

package db

import (
Expand Down

0 comments on commit f49901a

Please sign in to comment.