Add rename recipe to justfile (#248)

This commit is contained in:
Casey Rodarmor 2017-11-16 13:25:24 -08:00 committed by GitHub
parent 3acd56646f
commit a4bf6c3a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,9 @@ sloc:
echo Checking for long lines...
! grep --color -En '.{101}' src/*.rs
rename FROM TO:
find src -name '*.rs' | xargs sed -i '' -E 's/{{FROM}}/{{TO}}/g'
nop:
fail: