Skip to content

Commit 73d30d4

Browse files
committed
Describe task outputs so that buildtool clean works right
1 parent b3e9fc7 commit 73d30d4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎buildfile.m‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
plan.DefaultTasks = ["lint", "test"];
1313

1414
plan("test").Dependencies = ["lint" "mex"];
15+
plan("test").Outputs = "coverage";
1516
plan("fixLint").Dependencies = "indent";
1617
plan("all").Dependencies = ["indent", "fixLint", "test"];
1718
plan("mex").Dependencies = "fetch";
1819
plan("mex").Description = "Build MEX functions";
20+
plan("mex").Outputs = "toolbox/derived/*Mex*";
1921

2022
if ~isMATLABReleaseOlderThan("R2025a")
2123
plan("clean") = matlab.buildtool.tasks.CleanTask;

0 commit comments

Comments
 (0)