Mercurial > lcfOS
comparison python/ppci/buildtasks.py @ 332:87feb8a23b4d
Added task list command
author | Windel Bouwman |
---|---|
date | Fri, 07 Feb 2014 12:51:55 +0100 |
parents | a78b41ff6ad2 |
children | 6f4753202b9a |
comparison
equal
deleted
inserted
replaced
331:a78b41ff6ad2 | 332:87feb8a23b4d |
---|---|
78 | 78 |
79 class ObjCopy(Task): | 79 class ObjCopy(Task): |
80 pass | 80 pass |
81 | 81 |
82 | 82 |
83 def load_recipe(recipe_file, runner): | |
84 """ Loads a recipe dictionary into a task runner """ | |
85 for command, value in recipe: | |
86 if command == 'compile': | |
87 sources = value[''] | |
88 target = value['target'] | |
89 runner.add_task(Compile()) | |
90 else: | |
91 raise Exception() | |
92 | 83 |