mattermost-community-enterp.../vendor/github.com/jmoiron/sqlx/Makefile
Claude ec1f89217a Merge: Complete Mattermost Server with Community Enterprise
Full Mattermost server source with integrated Community Enterprise features.
Includes vendor directory for offline/air-gapped builds.

Structure:
- enterprise-impl/: Enterprise feature implementations
- enterprise-community/: Init files that register implementations
- enterprise/: Bridge imports (community_imports.go)
- vendor/: All dependencies for offline builds

Build (online):
  go build ./cmd/mattermost

Build (offline/air-gapped):
  go build -mod=vendor ./cmd/mattermost

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 23:59:07 +09:00

31 lines
583 B
Makefile

.ONESHELL:
SHELL = /bin/sh
.SHELLFLAGS = -ec
BASE_PACKAGE := github.com/jmoiron/sqlx
tooling:
go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
go install golang.org/x/vuln/cmd/govulncheck@v1.0.4
go install golang.org/x/tools/cmd/goimports@v0.20.0
has-changes:
git diff --exit-code --quiet HEAD --
lint:
go vet ./...
staticcheck -checks=all ./...
fmt:
go list -f '{{.Dir}}' ./... | xargs -I {} goimports -local $(BASE_PACKAGE) -w {}
vuln-check:
govulncheck ./...
test-race:
go test -v -race -count=1 ./...
update-dependencies:
go get -u -t -v ./...
go mod tidy