From a4bf6c3a4ef7a6bfe5f9664cc72c52f191c66545 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Thu, 16 Nov 2017 13:25:24 -0800 Subject: [PATCH] Add rename recipe to justfile (#248) --- justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/justfile b/justfile index c0550ac..82030f3 100644 --- a/justfile +++ b/justfile @@ -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: