-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildfile.m
39 lines (31 loc) · 821 Bytes
/
buildfile.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
function plan = buildfile
% Copyright 2023 The MathWorks, Inc.
import matlab.buildtool.tasks.*
import matlab.buildtool.Task;
plan = buildplan(localfunctions);
plan("check") = Task;
plan("check").Actions = @checkTask;
plan("check").Description = "Checks Description";
plan("test") = Task;
plan("test").Actions = @testTask;
plan("test").Description = "tests Dscription";
plan("test").Dependencies = ["check","show"];
plan("show") = Task;
plan("show").Description = "Shows the details"
plan("show").Actions = @showTask;
%plan("dsplay")
plan("clean") = CleanTask();
plan.DefaultTasks = ["check"];
function checkTask(~)
% Identify code issues
disp("Hello Check");
end
function showTask(~)
% Identify code issues
disp("Hello Show");
end
function testTask(~)
% Identify code issues
disp("Hello test");
end
end