Fix source_manifest.py in light of the recent refactor

There's no sysa or sysc anymore.
This commit is contained in:
Gábor Stefanik 2023-12-17 22:11:02 +01:00
parent c188185ad4
commit faad907fba
1 changed files with 2 additions and 18 deletions

View File

@ -9,27 +9,11 @@ for the bootstrapping process.
import argparse
from sysa import SysA
from sysc import SysC
from lib.generator import Generator
def main():
"""Generate a source manifest for a system"""
parser = argparse.ArgumentParser()
parser.add_argument("-s", "--system",
help="Generate source manifest for the specified systems",
choices=["sysa", "sysc"],
nargs="+",
action="extend",
required=True)
args = parser.parse_args()
if "sysa" in args.system:
print(SysA.get_source_manifest())
if "sysc" in args.system:
print(SysC.get_source_manifest())
print(Generator.get_source_manifest())
if __name__ == "__main__":
main()