Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rwxr-xr-xcommands/check-system8
-rw-r--r--commands/common.py12
2 files changed, 20 insertions, 0 deletions
diff --git a/commands/check-system b/commands/check-system
new file mode 100755
index 0000000..aca432f
--- /dev/null
+++ b/commands/check-system
@@ -0,0 +1,8 @@
+#!/usr/bin/python
+
+import common
+
+from devbot import system
+
+common.setup()
+system.check()
diff --git a/commands/common.py b/commands/common.py
new file mode 100644
index 0000000..2836291
--- /dev/null
+++ b/commands/common.py
@@ -0,0 +1,12 @@
+import os
+import sys
+
+base_path = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
+
+sys.path.append(base_path)
+
+from devbot import system
+from devbot import config
+
+def setup():
+ config.set_path(os.path.join(base_path, "scripts", "deps"))