diff options
Diffstat (limited to 'commands')
-rwxr-xr-x | commands/check-system | 8 | ||||
-rw-r--r-- | commands/common.py | 12 |
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")) |