From 69c1180cc873e2f1d3d4daf389d944046350dfe4 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Fri, 3 Nov 2023 09:48:50 +0000 Subject: [PATCH] chore: remove rename.sh --- rename.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 rename.sh diff --git a/rename.sh b/rename.sh deleted file mode 100755 index e93717f..0000000 --- a/rename.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -find . | grep -P "(\.(rb|gemspec|md|yaml|yml|ru)|(bin\/console))$" | xargs sed -i -e "s/Rapid/Apia/" $1 -find . | grep -P "(\.(rb|gemspec|md|yaml|yml|ru)|(bin\/console))$" | xargs sed -i -e "s/rapid/apia/" $1 - -if [ -f "rapid.gemspec" ]; then - mv rapid.gemspec apia.gemspec -fi - -if [ -d "lib/rapid" ]; then - mv lib/rapid lib/apia -fi - -if [ -f "lib/rapid.rb" ]; then - mv lib/rapid.rb lib/apia.rb -fi - -if [ -d "spec/specs/rapid" ]; then - mv spec/specs/rapid spec/specs/apia -fi