Skip to content

Commit

Permalink
justile: update rename recipe
Browse files Browse the repository at this point in the history
Issue #59
  • Loading branch information
iacopy committed Nov 19, 2023
1 parent 12e7eec commit a1b93b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ MIN_COVERAGE := '100'

# rename project and author
@rename project author:
mv src/cleanpython src/{{project}}
# replace string "Cleanpython" with {{project}} and "iacopy" with {{author}} in files
sed -i "" -e s/cleanpython/"{{project}}"/g tests/test_app.py
sed -i "" -e s/cleanpython/"{{project}}"/g tests/test_foobar.py
sed -i "" -e s/Cleanpython/"{{project}}"/g -e s/iacopy/"{{author}}"/g pyproject.toml
sed -i "" s/"Clean code with batteries included."/"Project description placeholder"/g pyproject.toml
sed -i "" s/iacopy/"{{author}}"/g LICENSE
Expand Down

0 comments on commit a1b93b0

Please sign in to comment.