Skip to content

Commit 43bdc1e

Browse files
committed
chore: enhance Makefile with publishing commands and setup instructions
1 parent 0156ca5 commit 43bdc1e

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Makefile

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ help:
1414
@echo "format Format code with black and isort"
1515
@echo "type-check Run mypy type checking"
1616
@echo "clean Clean build artifacts"
17-
@echo "docs Build documentation"
1817
@echo "build Build package for distribution"
18+
@echo "test-build Build and check package"
19+
@echo "publish-test Publish to Test PyPI"
1920
@echo "publish Publish package to PyPI"
21+
@echo "setup-remote Show commands to setup GitHub remote"
2022

2123
# Installation
2224
install:
@@ -75,9 +77,21 @@ docs:
7577
build: clean
7678
python -m build
7779

78-
publish: build
80+
test-build: build
81+
python -m twine check dist/*
82+
83+
publish-test: test-build
84+
python -m twine upload --repository testpypi dist/*
85+
86+
publish: test-build
7987
python -m twine upload dist/*
8088

89+
# GitHub repository setup
90+
setup-remote:
91+
@echo "Run this command to add your GitHub remote:"
92+
@echo "git remote add origin https://github.com/sirstig/yokedcache.git"
93+
@echo "git push -u origin main"
94+
8195
# Utilities
8296
redis-start:
8397
@echo "Starting Redis server (requires Docker)..."

0 commit comments

Comments
 (0)