Skip to content

Commit

Permalink
remove tput
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 committed Oct 4, 2022
1 parent 19fcc3b commit 5fc871a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
PROJECT := "tbpore"
OPEN := if os() == "macos" { "open" } else { "xdg-open" }
VERSION := `poetry version | rg -o '\d+\.\d+\.\d+'`
BOLD := `tput bold`
NORM := `tput sgr0`

# format code with black and isort
fmt:
Expand Down Expand Up @@ -41,8 +39,8 @@ check: check-fmt lint test

# prints out the commands to run to tag the release and push it
tag:
@echo "Run {{ BOLD }}git tag -a {{ VERSION }} -m <message>{{ NORM }} to tag the release"
@echo "Then run {{ BOLD }}git push origin {{ VERSION }}{{ NORM }} to push the tag"
@echo "Run \`git tag -a {{ VERSION }} -m <message>\` to tag the release"
@echo "Then run \`git push origin {{ VERSION }}\` to push the tag"

# runs tbpore on sample example
test-run:
Expand Down

0 comments on commit 5fc871a

Please sign in to comment.