bugfix to neb build
This commit is contained in:
@@ -15,9 +15,9 @@ def build(args):
|
||||
|
||||
out_path = os.path.join(comet_libs_dir, f"{folder_name}.cometlib")
|
||||
|
||||
c_files = glob.glob(f"{args.path}/*.c", recursive=True)
|
||||
c_files = glob.glob(f"{args.path}/src/*.c", recursive=True)
|
||||
if len(c_files) == 0:
|
||||
print_error_message(f"No C files were found in that directory! [d white]({folder_name})[/d white]")
|
||||
print_error_message(f"No C files were found in that directory! [d white]({folder_name}/src)[/d white]")
|
||||
sys.exit(1)
|
||||
|
||||
with console.status("Building", spinner="moon") as status:
|
||||
|
||||
Reference in New Issue
Block a user