test-alpine:
docker build --file docker/Dockerfile.alpine -t komichi-alpine .
docker run -it --rm --name komichi-alpine-test komichi-alpine
test-debian:
docker build --file docker/Dockerfile.debian -t komichi-debian .
docker run -it --rm --name komichi-debian-test komichi-debian
test-all: test-alpine test-debian
clean-docker:
docker image prune -a
docker system prune -af
docker image prune -af
docker system prune -af --volumes
docker system df
release-checklist:
@echo " 1. Make sure docker is running"
@echo " 2. Run the tests: just test-all"
@echo " 3. Clean up: just clean-docker"
@echo " 4. Make sure to bump the version number in Cargo.toml"
@echo " 5. Make sure to commit and push the version bump"
@echo " 6. Create the tag: git tag -m 'v0.0.0' v0.0.0"
@echo " 7. Push the tag: git push --tags"
@echo " 8. Test the publication: cargo publish --dry-run"
@echo " 9. Publish: cargo publish"