From f6bf5049d4f7eb219c548013baf4f4a1dc8f5b09 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Sat, 02 Feb 2013 16:32:56 +0000 Subject: Add sugar-html-activity --- diff --git a/config/modules/sugar.json b/config/modules/sugar.json index a82978a..08a8141 100644 --- a/config/modules/sugar.json +++ b/config/modules/sugar.json @@ -39,6 +39,10 @@ "repo": "git://git.sugarlabs.org/sugar-html-browser/sugar-html-browser.git" }, { + "name": "sugar-html-activity", + "repo": "git://git.sugarlabs.org/sugar-html-activity/sugar-html-activity.git" + }, + { "distribute": true, "has_checks": true, "name": "sugar-runner", diff --git a/devbot/build.py b/devbot/build.py index c01f373..694c478 100644 --- a/devbot/build.py +++ b/devbot/build.py @@ -228,10 +228,8 @@ def _build_module(module, log=None): try: build_system = module.get_build_system() - if build_system is None: - return False - - _builders[build_system](module, log) + if build_system is not None: + _builders[build_system](module, log) except subprocess.CalledProcessError: return False diff --git a/devbot/config.py b/devbot/config.py index 197492d..3f65417 100644 --- a/devbot/config.py +++ b/devbot/config.py @@ -59,10 +59,8 @@ class Module: 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.") - return None + + return None def setup(**kwargs): -- cgit v0.9.1