Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'devbot/config.py')
-rw-r--r--devbot/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/devbot/config.py b/devbot/config.py
index 17283c8..05ffcca 100644
--- a/devbot/config.py
+++ b/devbot/config.py
@@ -57,6 +57,8 @@ class Module:
elif os.path.exists(os.path.join(source_dir, "autogen.sh")) or \
os.path.exists(os.path.join(source_dir, "configure")):
return "autotools"
+ elif os.path.exists(os.path.join(source_dir, "package.json")):
+ return "node"
else:
print("The source directory has unexpected content, please "
"delete it and pull\nthe source again.")