Skip to content

Commit

Permalink
Merge pull request #27 from ethereum/template-filler-venv
Browse files Browse the repository at this point in the history
Skip venv in template filler & print progress
  • Loading branch information
carver committed Nov 27, 2019
2 parents 89363b2 + dc9f04c commit df429d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .project-template/fill_template_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" {} +
Expand Down

0 comments on commit df429d2

Please sign in to comment.