Skip to content

Commit

Permalink
FIX update buildfile to work around mlapp relative path packaging issue
Browse files Browse the repository at this point in the history
ADD mlapp and mlappinstall back to the project
  • Loading branch information
dhoadley authored and dhoadley committed Sep 16, 2024
1 parent 9619064 commit 478896e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Binary file added app/TVKApp.mlapp
Binary file not shown.
10 changes: 1 addition & 9 deletions buildfile.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,13 @@
["test-results/coverage.xml", "test-results/coverage-report/index.html"], ...
MetricLevel="mcdc");

plan("app").Dependencies = [];
plan("app").Inputs = plan.RootFolder;
plan("app").Outputs = "release/Tool Validation Kit App.mlappinstall";

plan("toolbox").Dependencies = ["check" "test" "app"];
plan("toolbox").Dependencies = ["check" "test"];
plan("toolbox").Inputs = plan.RootFolder;
plan("toolbox").Outputs = "release/Tool Validation Kit.mltbx";

plan.DefaultTasks = "toolbox";
end

function appTask(ctx)
matlab.apputil.package(fullfile(ctx.Plan.RootFolder, "app", "Tool Validation Kit App.prj"));
end

function toolboxTask(ctx)
opts = matlab.addons.toolbox.ToolboxOptions(ctx.Plan.RootFolder,"266fc400-0ecc-42c5-ad93-c19364dbaf03", ...
ToolboxVersion="4.2.2", ...
Expand Down
Binary file added release/Tool Validation Kit App.mlappinstall
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info>
<Category UUID="FileClassCategory">
<Label UUID="design"/>
</Category>
</Info>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info/>

0 comments on commit 478896e

Please sign in to comment.