Skip to content

Instantly share code, notes, and snippets.

@abrookins
Created February 28, 2012 16:57
Show Gist options
  • Select an option

  • Save abrookins/1933635 to your computer and use it in GitHub Desktop.

Select an option

Save abrookins/1933635 to your computer and use it in GitHub Desktop.

Revisions

  1. abrookins revised this gist Feb 28, 2012. No changes.
  2. abrookins revised this gist Feb 28, 2012. 1 changed file with 0 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions gistfile1.json
    Original file line number Diff line number Diff line change
    @@ -4,9 +4,6 @@
    {
    "path": "django_project_dir"
    },
    {
    "path": "lib/python2.7/site-packages"
    },
    {
    "path": "lib/python2.7"
    }
  3. abrookins revised this gist Feb 28, 2012. 1 changed file with 13 additions and 13 deletions.
    26 changes: 13 additions & 13 deletions gistfile1.json
    Original file line number Diff line number Diff line change
    @@ -1,24 +1,24 @@
    {
    "folders":
    [
    {
    "path": "django_project_dir"
    },
    {
    "path": "lib/python2.7/site-packages"
    },
    {
    "path": "lib/python2.7"
    }
    ],
    "folders":
    [
    {
    "path": "django_project_dir"
    },
    {
    "path": "lib/python2.7/site-packages"
    },
    {
    "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"]
    "cmd": ["python", "manage.py", "test", "--noinput"]
    }
    ]
    }
  4. abrookins created this gist Feb 28, 2012.
    24 changes: 24 additions & 0 deletions gistfile1.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    {
    "folders":
    [
    {
    "path": "django_project_dir"
    },
    {
    "path": "lib/python2.7/site-packages"
    },
    {
    "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"]
    }
    ]
    }