Skip to content

Commit

Permalink
makefile: add sqlite db and another architecture.
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggie1984 committed Nov 19, 2024
1 parent c2fc80b commit 7c12213
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ XARGS := xargs -L 1

VERSION_TAG = $(shell git describe --tags)

DEV_TAGS = kvdb_etcd kvdb_postgres
DEV_TAGS = kvdb_etcd kvdb_postgres kvdb_sqlite
RELEASE_TAGS = $(DEV_TAGS)

BUILD_SYSTEM = darwin-amd64 \
darwin-arm64 \
linux-386 \
linux-amd64 \
linux-armv6 \
Expand Down Expand Up @@ -108,7 +109,7 @@ scratch: build

unit:
@$(call print, "Running unit tests.")
$(GOTEST) ./...
$(GOTEST) -tags="$(DEV_TAGS)" ./...

fmt: $(GOIMPORTS_BIN)
@$(call print, "Fixing imports.")
Expand All @@ -118,7 +119,7 @@ fmt: $(GOIMPORTS_BIN)

lint: docker-tools
@$(call print, "Linting source.")
$(DOCKER_TOOLS) golangci-lint run -v $(LINT_WORKERS)
$(DOCKER_TOOLS) golangci-lint run -v --build-tags="$(DEV_TAGS)"$(LINT_WORKERS)

vendor:
@$(call print, "Re-creating vendor directory.")
Expand Down

0 comments on commit 7c12213

Please sign in to comment.