Added the sublime project file
authorSalim Fadhley <sal@stodge.org>
Sun, 2 Jun 2013 00:12:59 +0000 (01:12 +0100)
committerSalim Fadhley <sal@stodge.org>
Sun, 2 Jun 2013 00:12:59 +0000 (01:12 +0100)
misc/jenkinsapi.sublime-project [new file with mode: 0644]
misc/readme.txt [new file with mode: 0644]

diff --git a/misc/jenkinsapi.sublime-project b/misc/jenkinsapi.sublime-project
new file mode 100644 (file)
index 0000000..38fe046
--- /dev/null
@@ -0,0 +1,58 @@
+{
+       "folders":
+       [
+               {
+                       "path": "src"
+               }
+       ],
+       
+       "settings": 
+    {   
+        "python_test_runner": 
+        {
+            "before_test": "source .env/bin/activate",
+            "after_test": "deactivate",
+            "test_root": "src/pythonmoo/tests",
+            "test_delimeter": ":",
+            "test_command": "nosetests"
+        }
+    },
+
+       "build_systems":
+       [
+               {
+
+                       "name":"Virtualenv 2.7",
+                       "working_dir": "${project_path:${folder}}/src",
+                       "cmd":
+                       [
+                               "${project_path}/bin/python2.7",
+                               "$file"
+                       ]
+               },
+               {
+
+                       "name":"Nose 2.7",
+                       "working_dir": "${project_path:${folder}}/src",
+                       "cmd":
+                       [
+                               "${project_path}/bin/nosetests", "${project_path}/src/jenkinsapi_tests/unittests"
+                       ]
+               },
+               {
+
+                       "name":"Virtualenv 3.3",
+                       "working_dir": "${project_path:${folder}}/src",
+                       "cmd":
+                       [
+                               "source", "${project_path}/bin/activate"
+                       ],
+                       "cmd":
+                       [
+                               "${project_path}/bin/python3.3",
+                               "-u",
+                               "$file"
+                       ]
+               }
+       ]
+}
diff --git a/misc/readme.txt b/misc/readme.txt
new file mode 100644 (file)
index 0000000..1db3e4f
--- /dev/null
@@ -0,0 +1,2 @@
+This folder contains configuration files which may be useful for developers.
+Almost certainly, none of these files will work from their current location. You may need to symlink them to a more useful location.
\ No newline at end of file