We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd9012b + f84c15b commit 3516de5Copy full SHA for 3516de5
1 file changed
sources/commands/build.dylan
@@ -62,12 +62,16 @@ define method execute-subcommand
62
" or configure a default library.");
63
end);
64
end;
65
+ if (get-option-value(subcmd, "clean"))
66
+ let _build = ws/build-directory(ws);
67
+ verbose("Deleting directory %s due to -clean flag.", _build);
68
+ fs/delete-directory(_build, recursive?: #t);
69
+ end;
70
for (name in library-names)
71
// Let the shell locate dylan-compiler...
72
let command
73
= join(remove(list("dylan-compiler",
74
"-compile",
- get-option-value(subcmd, "clean") & "-clean",
75
get-option-value(subcmd, "link") & "-link",
76
get-option-value(subcmd, "unify") & "-unify",
77
get-option-value(subcmd, "verbose") & "-verbose",
0 commit comments