Python 3-based commandline converter YAML ↔ JSON ↔ PLIST
Quick reference for common yaplon development and release tasks.
# Clone and setup
git clone https://github.com/twardoch/yaplon.git
cd yaplon
make install-dev
# Verify installation
python -c "import yaplon; print(yaplon.__version__)"
# Format code
make format
# Run linting
make lint
# Run fast tests
make test-fast
# Complete dev workflow
make dev
# Build Python package
make build
# Build binary for current platform
make build-binary
# Build with custom script
python scripts/build.py --all
# Run all tests
make test
# Run tests with coverage
make test-coverage
# Run specific test
pytest tests/test_version.py
python scripts/release.py --bump patch --message "Bug fixes"
python scripts/release.py --bump minor --message "New features"
python scripts/release.py --bump major --message "Breaking changes"
python scripts/release.py --version 1.5.0 --message "Special release"
python scripts/release.py --bump patch --test-pypi --message "Test"
# Build binary for current platform
python scripts/build_binaries.py
# Build with testing
python scripts/build_binaries.py --test
# Build with installer script
python scripts/build_binaries.py --installer
# Quick setup
./activate-workflows.sh
# Manual setup
mkdir -p .github/workflows
cp workflows-templates/*.yml .github/workflows/
make ci
See GITHUB_SETUP.md for detailed setup instructions.
make version-check
make clean
make install-dev
pytest -v --tb=short
Task | Command |
---|---|
Setup | make install-dev |
Format | make format |
Lint | make lint |
Test | make test |
Build | make build |
Binary | make build-binary |
Release | python scripts/release.py --bump patch --message "msg" |
Clean | make clean |
Dev workflow | make dev |
CI workflow | make ci |
Activate workflows | ./activate-workflows.sh |