Merge pull request #27 from ethereum/template-filler-venv

Skip venv in template filler & print progress
This commit is contained in:
Jason Carver
2019-11-27 15:31:30 -08:00
committed by GitHub

View File

@ -29,7 +29,8 @@ echo "What is a one-liner describing the project?"
read SHORT_DESCRIPTION
_replace() {
local find_cmd=(find "$PROJECT_ROOT" ! -perm -u=x ! -path '*/.git/*' -type f)
echo "Replacing values: $1"
local find_cmd=(find "$PROJECT_ROOT" ! -perm -u=x ! -path '*/.git/*' ! -path '*/venv*/*' -type f)
if [[ $(uname) == Darwin ]]; then
"${find_cmd[@]}" -exec sed -i '' "$1" {} +