Skip to content

Commit

Permalink
Split source root directory creation and django project start command…
Browse files Browse the repository at this point in the history
…s into separate lines
  • Loading branch information
jaydenwindle committed Dec 12, 2017
1 parent a085cba commit e8fb6c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hooks/pre_gen_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fi

{{ cookiecutter.virtualenv_bin }} .ve
.ve/bin/pip install -q "django=={{ cookiecutter.django_version }}"
mkdir "$source_root" && .ve/bin/django-admin.py startproject -v 0 "{{ cookiecutter.project_name }}" "{{ cookiecutter.source_root }}"
mkdir "$source_root"
.ve/bin/django-admin.py startproject -v 0 "{{ cookiecutter.project_name }}" "{{ cookiecutter.source_root }}"

echo "---> DONE Running pre-hook script..."

0 comments on commit e8fb6c6

Please sign in to comment.