Skip to content
Snippets Groups Projects
Commit c10a7b63 authored by Paweł Szostek's avatar Paweł Szostek
Browse files

Fix bug with automatic flow

There was a bug fixed because of which hdl-make
didn't work properly without specifying run
parameters (there was no default action)
parent e22890c6
Branches
Tags
No related merge requests found
No preview for this file type
......@@ -121,14 +121,13 @@ use 0 for current version""", metavar="ISE")
"list" : "list_modules",
"clean" : "clean_modules"
}
sth_chosen = False
for option, function in options_kernel_mapping.items():
try:
is_set = getattr(options,option)
if is_set:
getattr(kernel, function)()
sth_chosen = True
sth_chosen = True
except Exception,e :
print e
......
......@@ -63,6 +63,7 @@ class HdlmakeKernel(object):
else:
raise RuntimeError("Unrecognized target: "+tm.target)
else:
p.echo("")
hp.print_action_help() and quit()
def list_modules(self):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment