Compare commits
2 Commits
d22abc2ae5
...
b9d720a944
| Author | SHA1 | Date | |
|---|---|---|---|
| b9d720a944 | |||
| dadd86183b |
@@ -15,9 +15,9 @@ def build(args):
|
|||||||
|
|
||||||
out_path = os.path.join(comet_libs_dir, f"{folder_name}.cometlib")
|
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:
|
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)
|
sys.exit(1)
|
||||||
|
|
||||||
with console.status("Building", spinner="moon") as status:
|
with console.status("Building", spinner="moon") as status:
|
||||||
|
|||||||
Reference in New Issue
Block a user