From 71ba221c493d70b04046fc624bf39ea05b8b38d5 Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 15 May 2018 12:25:21 -0700 Subject: [PATCH] Enable template refilling --- .project-template/fill_template_vars.sh | 4 ++-- .project-template/refill_template_vars.sh | 1 + .project-template/template_vars.txt | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .project-template/refill_template_vars.sh create mode 100644 .project-template/template_vars.txt diff --git a/.project-template/fill_template_vars.sh b/.project-template/fill_template_vars.sh index 7ae7ebba..1e76d8ad 100755 --- a/.project-template/fill_template_vars.sh +++ b/.project-template/fill_template_vars.sh @@ -44,5 +44,5 @@ _replace "s//$RTD_NAME/g" _replace "s//$PROJECT_NAME/g" _replace "s//$SHORT_DESCRIPTION/g" -mkdir -p $MODULE_NAME -touch $MODULE_NAME/__init__.py +mkdir -p "$PROJECT_ROOT/$MODULE_NAME" +touch "$PROJECT_ROOT/$MODULE_NAME/__init__.py" diff --git a/.project-template/refill_template_vars.sh b/.project-template/refill_template_vars.sh new file mode 100644 index 00000000..bbb39e99 --- /dev/null +++ b/.project-template/refill_template_vars.sh @@ -0,0 +1 @@ + + + + + +