Skip to content

Instantly share code, notes, and snippets.

@walterrenner
Forked from abrookins/gist:1933635
Created December 17, 2015 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walterrenner/f8e8d6b06a1f0c79bea6 to your computer and use it in GitHub Desktop.
Save walterrenner/f8e8d6b06a1f0c79bea6 to your computer and use it in GitHub Desktop.
A Sublime Text 2 Django project file with a test runner build system
{
"folders":
[
{
"path": "django_project_dir"
},
{
"path": "lib/python2.7"
}
],
"build_systems":
[
{
"name": "Run Tests",
"working_dir": "${project_path}/django_project_dir",
"env": {"PYTHONPATH": "/path/to/envs/env_name/django_project_dir:/path/to/envs/env_name/lib/python2.7/site-packages"},
"cmd": ["python", "manage.py", "test", "--noinput"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment