feat: normalize emails
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Makefile for building and running the POP3 to IMAP Importer Docker image
|
||||
# Makefile for building and running the POP3 to IMAP Importer
|
||||
|
||||
# Variables
|
||||
IMAGE_NAME = pop-imap-importer
|
||||
@@ -12,6 +12,29 @@ help: ## Show this help message
|
||||
@echo "Targets:"
|
||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
# Local build targets
|
||||
.PHONY: build-local
|
||||
build-local: ## Build both binaries locally (release mode)
|
||||
cargo build --release
|
||||
|
||||
.PHONY: pop-to-imap
|
||||
pop-to-imap: ## Run the POP3 to IMAP migration tool
|
||||
cargo run --release --bin pop-to-imap
|
||||
|
||||
.PHONY: normalize-imap
|
||||
normalize-imap: ## Run the IMAP normalization tool
|
||||
cargo run --release --bin normalize-imap
|
||||
|
||||
.PHONY: normalize-dry-run
|
||||
normalize-dry-run: ## Run the IMAP normalization tool in dry-run mode
|
||||
cargo run --release --bin normalize-imap -- --dry-run
|
||||
|
||||
.PHONY: test
|
||||
test: ## Run all tests
|
||||
cargo test
|
||||
|
||||
# Docker targets
|
||||
|
||||
.PHONY: build
|
||||
build: ## Build the Docker image for linux/amd64 platform
|
||||
docker build --platform=$(DOCKER_PLATFORM) -t $(IMAGE_NAME) .
|
||||
|
||||
Reference in New Issue
Block a user