Add rename recipe to justfile (#248)
This commit is contained in:
parent
3acd56646f
commit
a4bf6c3a4e
3
justfile
3
justfile
@ -63,6 +63,9 @@ sloc:
|
|||||||
echo Checking for long lines...
|
echo Checking for long lines...
|
||||||
! grep --color -En '.{101}' src/*.rs
|
! grep --color -En '.{101}' src/*.rs
|
||||||
|
|
||||||
|
rename FROM TO:
|
||||||
|
find src -name '*.rs' | xargs sed -i '' -E 's/{{FROM}}/{{TO}}/g'
|
||||||
|
|
||||||
nop:
|
nop:
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user