Hello,
I have a small section of sed code I would like to add to the
deploy.rb script.
The code changes the image paths of our stylesheets
for file in *; do
sed -e ‘s//images/http://cache.reverbnation.com/images/g’
“$file” > “${file}.sub”
rm “$file”
mv “${file}.sub” “${file}”
done
I am a newbie at writing and testing rake tasks and would like to know
what the best way to test this before it goes live?
Thanks,
Clem C Rock