Commits

Steve Losh  committed 9af8d22

Add a standalone builder script suitable for spinning off into a process.

  • Participants
  • Parent commits 170935b

Comments (0)

Files changed (1)

+#!/usr/bin/env python
+
+from django.core.management import setup_environ
+import settings
+setup_environ(settings)
+
+import sys
+from integration.models import Project
+from integration.utils import run_test
+
+def main():
+    slug = sys.argv[1]
+    p = Project.objects.get(slug=slug)
+    run_test(p)
+
+if __name__ == '__main__':
+    main()