Files
arnes/Makefile

33 lines
1.0 KiB
Makefile

.PHONY: verify start ticket publish install clean help
verify:
./scripts/verify.sh
start:
./scripts/start.sh
ticket:
python3 scripts/new_ticket.py
publish:
@test -n "$(FEATURE_ID)" || (echo "Use: make publish FEATURE_ID=F-001" && exit 1)
python3 scripts/publish_ticket.py --feature-id $(FEATURE_ID)
install:
@test -n "$(TARGET)" || (echo "Use: make install TARGET=/path/to/project-repo" && exit 1)
./scripts/install_into_repo.sh $(TARGET)
clean:
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete 2>/dev/null || true
help:
@echo "ARNES template - commands:"
@echo ""
@echo " make verify - Verify harness core"
@echo " make start - First-run wizard"
@echo " make ticket - Create ticket (EN caveman)"
@echo " make publish FEATURE_ID=.. - Commit and push one ticket"
@echo " make install TARGET=.. - Install ARNES into external repo"
@echo " make clean - Clean cache files"