mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
readme updates
This commit is contained in:
parent
3efb72dd3c
commit
15c560a0c5
4 changed files with 764 additions and 244 deletions
19
Makefile
19
Makefile
|
|
@ -73,20 +73,7 @@ pycalver_deps.svg:
|
|||
-o pycalver_deps.svg
|
||||
|
||||
|
||||
README.md: src/pycalver/__main__.py makefile
|
||||
## Update cli reference in README.md
|
||||
README.md: src/pycalver/__main__.py scripts/update_readme_examples.py Makefile
|
||||
@git add README.md
|
||||
@printf '\n```\n$$ pycalver --help\n' > /tmp/pycalver_help.txt
|
||||
@$(DEV_ENV)/bin/pycalver --help >> /tmp/pycalver_help.txt
|
||||
@printf '```\n\n' >> /tmp/pycalver_help.txt
|
||||
|
||||
sed -i -ne '/<!-- BEGIN pycalver --help -->/ {p; r /tmp/pycalver_help.txt' \
|
||||
-e ':a; n; /<!-- END pycalver --help -->/ {p; b}; ba}; p' \
|
||||
README.md
|
||||
|
||||
@printf '\n```\n$$ pycalver bump --help\n' > /tmp/pycalver_help.txt
|
||||
@$(DEV_ENV)/bin/pycalver bump --help >> /tmp/pycalver_help.txt
|
||||
@printf '```\n\n' >> /tmp/pycalver_help.txt
|
||||
|
||||
sed -i -ne '/<!-- BEGIN pycalver bump --help -->/ {p; r /tmp/pycalver_help.txt' \
|
||||
-e ':a; n; /<!-- END pycalver bump --help -->/ {p; b}; ba}; p' \
|
||||
README.md
|
||||
@$(DEV_ENV)/bin/python scripts/update_readme_examples.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue