Skip to content

Commit

Permalink
Refresh for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
acampbel committed Mar 15, 2024
1 parent 7c78ed7 commit e0b8392
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions buildfile.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
%% Enable cleaning derived build outputs
plan("clean") = CleanTask;

resultsFolder = "results/" + computer("arch");

%% Lint the code and tests
plan("lint") = CodeIssuesTask(Results=resultsFolder + "/code-issues.sarif");
plan("lint") = CodeIssuesTask(Results="results/code-issues.sarif");


%% Build mex files and place them in toolbox folder
Expand All @@ -28,10 +27,10 @@
%% Setup test, example test, and integration test tasks
plan("test") = TestTask("tests", ...
SourceFiles=["code", "pcode", "mex"], ...
TestResults=resultsFolder + "/test-results.html", ...
TestResults="results/test-results.html", ...
Dependencies="mex", ...
Description="Run the unit tests.") ...
.addCodeCoverage(resultsFolder + "/coverage/index.html", MetricLevel="mcdc");
.addCodeCoverage("results/coverage/index.html", MetricLevel="mcdc");


%% P-code sensitive code and grab the M1 help to ship with the p-code files
Expand Down Expand Up @@ -81,9 +80,9 @@
plan("ctf").Dependencies = ["lint","test"];
plan("ctf").Inputs = ["code", "pcode", "buildutils/simulateSystemFunctionSignatures.json"];
plan("ctf").Outputs = [...
resultsFolder + "/ctf-archive/MassSpringDamperService.ctf", ...
resultsFolder + "/ctf-build-results.mat", ...
resultsFolder + "/ctf-archive"];
"results/ctf-archive/MassSpringDamperService.ctf", ...
"results/ctf-build-results.mat", ...
"results/ctf-archive"];


%% Integration tests - back-to-back equivalence tests for the production server archive
Expand Down
Binary file modified workshop/Chapter_5.mlx
Binary file not shown.

0 comments on commit e0b8392

Please sign in to comment.