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>
20 lines
568 B
Makefile
20 lines
568 B
Makefile
# Directory containing mjml templates
|
|
OUTPUT_DIR=.
|
|
MJML=mjml
|
|
|
|
## Also update the circleCI file if you update this.
|
|
check-prereq: ## check if mjml is installed
|
|
@if ! [ -x "$$(command -v mjml)" ]; then \
|
|
echo "mjml is not installed. Installing mjml"; \
|
|
npm install -g mjml@4.9.0; \
|
|
fi;
|
|
|
|
|
|
build: check-prereq ## Compile all mjml email templates
|
|
@for f in $(shell ls *.mjml); \
|
|
do \
|
|
echo "{{define \"$${f%.*}\"}}\n" > $(OUTPUT_DIR)/$${f%.*}.html; \
|
|
$(MJML) $${f} -s >> $(OUTPUT_DIR)/$${f%.*}.html; \
|
|
echo "\n{{end}}" >> $(OUTPUT_DIR)/$${f%.*}.html; \
|
|
done
|