.PHONY: lint check test secrets stamp pre-commit

lint: ## Run Raku lint checks
	./scripts/raku-lint.sh lib/Rmv/JIRA.rakumod lib/Rmv/JIRA/*.rakumod

check: ## Run Raku syntax check on all source files
	find lib -name '*.rakumod' -exec raku -c {} +

test: ## Run Raku tests
	./scripts/raku-test.sh

stamp: ## Stamp {{$NEXT}} in Changes with version and date
	./scripts/stamp-changes.sh

secrets: ## Scan for secrets (non-interactive, CI-safe)
	gitleaks detect --no-git --source . -v

pre-commit: ## Run all pre-commit hooks
	pre-commit run --all-files

all: check lint test secrets ## Run everything
