Always infer entry point name from list of stages
This commit is contained in:
parent
7c115af4a3
commit
dde011039e
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ for root, dirs, files in os.walk(dir_path):
|
||||||
print("Compiling %s" % input_file)
|
print("Compiling %s" % input_file)
|
||||||
output_base_file_name = input_file
|
output_base_file_name = input_file
|
||||||
for stage in stages:
|
for stage in stages:
|
||||||
if (len(stages) > 1):
|
if (len(stages) > 0):
|
||||||
entry_point = stage + "Main"
|
entry_point = stage + "Main"
|
||||||
else:
|
else:
|
||||||
entry_point = "main"
|
entry_point = "main"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue