diff Makefile @ 0:91bc7378c1c5 draft

planemo upload commit c5b9a5678302366ab392fc9b24104509beb07c38-dirty
author jpayne
date Mon, 11 Aug 2025 15:37:26 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Mon Aug 11 15:37:26 2025 +0000
@@ -0,0 +1,25 @@
+.PHONY: help
+
+help:  ## Show this help message
+	@echo "Usage: make [target]"
+	@echo ""
+	@echo "Targets:"
+	@grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) | \
+		awk 'BEGIN {FS = ":.*?## "}; {printf "  %-10s %s\n", $$1, $$2}'
+
+.setup_done:  ## Set up development environment
+	@echo "Setting up development environment..."
+	pipx install planemo
+	@touch .setup_done
+
+test: .setup_done  ## Run tests
+	@echo "Running tests..."
+	planemo t --no_wait --galaxy_branch release_24.2 --skip_venv --biocontainers --job_config_file job_conf.yml --job_output_files ./.testing
+
+lint: .setup_done ## Run linter
+	@echo "Running linter..."
+	planemo l
+
+upload: .setup_done ## Upload package
+	@echo "Uploading package..."
+	planemo shed_update --shed_target toolrepo --force_repository_creation
\ No newline at end of file