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>
28 lines
933 B
Go
28 lines
933 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
//go:build enterprise
|
|
|
|
// This file is needed to ensure the enterprise code get complied
|
|
// when running tests. See https://mattermost.atlassian.net/browse/MM-54929
|
|
// for more details.
|
|
|
|
package commands
|
|
|
|
import (
|
|
// Enterprise Deps
|
|
_ "github.com/elastic/go-elasticsearch/v8"
|
|
_ "github.com/gorilla/handlers"
|
|
_ "github.com/hako/durafmt"
|
|
_ "github.com/hashicorp/memberlist"
|
|
_ "github.com/mattermost/gosaml2"
|
|
_ "github.com/mattermost/ldap"
|
|
_ "github.com/mattermost/mattermost/server/v8/channels/utils/testutils"
|
|
_ "github.com/mattermost/mattermost/server/v8/enterprise"
|
|
_ "github.com/mattermost/rsc/qr"
|
|
_ "github.com/prometheus/client_golang/prometheus"
|
|
_ "github.com/prometheus/client_golang/prometheus/collectors"
|
|
_ "github.com/prometheus/client_golang/prometheus/promhttp"
|
|
_ "github.com/tylerb/graceful"
|
|
)
|