Skip to content

Commit daf1a17

Browse files
authored
Merge pull request #11 from mathworks/fix-release-task
Updated toolboxPackaging.prj to ExamplesDrivenTester.prj
2 parents 5275334 + 694ed0c commit daf1a17

4 files changed

Lines changed: 80 additions & 173 deletions

File tree

buildfile.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
function releaseTask(~)
2626
releaseFolderName = "release";
2727
% Create toolbox options
28-
opts = matlab.addons.toolbox.ToolboxOptions("toolboxPackaging.prj");
28+
opts = matlab.addons.toolbox.ToolboxOptions("ExamplesDrivenTester.prj");
2929

3030
mltbxFileName = strrep(opts.ToolboxName," ","_") + ".mltbx";
3131
opts.OutputFile = fullfile(releaseFolderName,mltbxFileName);

resources/project/Project.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@
263263
</Category>
264264
</Info>
265265
</File>
266+
<File Location="toolbox.ignore">
267+
<Info/>
268+
</File>
266269
</File>
267270
<File Location="CONTRIBUTING.MD">
268271
<Info/>
@@ -319,6 +322,18 @@
319322
<Info Name="None" ReadOnly="READ_ONLY"/>
320323
</Label>
321324
</Category>
325+
<Category Location="Deployment_Category_7d30595d-8511-4bf3-93bb-ab1cb70ce773">
326+
<Info DataType="None" Name="Toolbox - toolbox Toolbox" ReadOnly="0" SingleValued="0"/>
327+
<Label Location="Deployment_ToolboxImageFile_7d30595d-8511-4bf3-93bb-ab1cb70ce773">
328+
<Info Name="Toolbox Image File" ReadOnly="WRITABLE"/>
329+
</Label>
330+
<Label Location="Deployment_ToolboxAppGalleryFiles_7d30595d-8511-4bf3-93bb-ab1cb70ce773">
331+
<Info Name="App Gallery File" ReadOnly="WRITABLE"/>
332+
</Label>
333+
<Label Location="Deployment_GettingStartedGuideFile_7d30595d-8511-4bf3-93bb-ab1cb70ce773">
334+
<Info Name="Getting Started Guide" ReadOnly="WRITABLE"/>
335+
</Label>
336+
</Category>
322337
</Categories>
323338
<Extensions Location="Root"/>
324339
<Info Location="ProjectData">
@@ -365,4 +380,16 @@
365380
<Info Value="true"/>
366381
</Command>
367382
</EnvironmentCustomizations>
383+
<Files Location="MathWorksDeploymentConfig{dc38b784-cea6-48b7-af09-29e6bbc24881}">
384+
<DIR_SIGNIFIER Location="1">
385+
<Info/>
386+
</DIR_SIGNIFIER>
387+
<Info ToolboxConfigModel="{&quot;entries&quot;:[{&quot;content&quot;:{&quot;appGalleryLabel&quot;:{&quot;content&quot;:{&quot;categoryID&quot;:&quot;Deployment_Category_7d30595d-8511-4bf3-93bb-ab1cb70ce773&quot;,&quot;labelID&quot;:&quot;Deployment_ToolboxAppGalleryFiles_7d30595d-8511-4bf3-93bb-ab1cb70ce773&quot;},&quot;type&quot;:&quot;deployment.toolbox.model.ProjectLabel&quot;,&quot;uuid&quot;:&quot;ba7b1b2c-c5ec-44a2-9647-d14733f39c3b&quot;},&quot;authorName&quot;:&quot;MathWorks&quot;,&quot;authorOrganization&quot;:&quot;MathWorks&quot;,&quot;description&quot;:&quot;Examples driven tester is a tool for users which uses MATLAB® scripts which are already present in toolbox to provide a preliminary \&quot;smoke test\&quot; of the toolbox functionality. It runs MATLAB scripts via the MATLAB Function-Based unit test framework and generates a test and code coverage report. This tool is intended for preliminary qualification or Smoke testing of toolboxes. It is recommended to add unit tests for exhaustive functional testing of your code.&quot;,&quot;gettingStartedGuideLabel&quot;:{&quot;content&quot;:{&quot;categoryID&quot;:&quot;Deployment_Category_7d30595d-8511-4bf3-93bb-ab1cb70ce773&quot;,&quot;labelID&quot;:&quot;Deployment_GettingStartedGuideFile_7d30595d-8511-4bf3-93bb-ab1cb70ce773&quot;},&quot;type&quot;:&quot;deployment.toolbox.model.ProjectLabel&quot;,&quot;uuid&quot;:&quot;21e83b8b-3952-4168-bc7b-32a73c0e3773&quot;},&quot;outputFileName&quot;:&quot;ExamplesDrivenTester.mltbx&quot;,&quot;outputFolder&quot;:&quot;/&quot;,&quot;supportedPlatforms&quot;:[&quot;Windows&quot;,&quot;Linux&quot;,&quot;Mac&quot;,&quot;MatlabOnline&quot;],&quot;toolboxFolder&quot;:&quot;toolbox&quot;,&quot;toolboxImgLabel&quot;:{&quot;content&quot;:{&quot;categoryID&quot;:&quot;Deployment_Category_7d30595d-8511-4bf3-93bb-ab1cb70ce773&quot;,&quot;labelID&quot;:&quot;Deployment_ToolboxImageFile_7d30595d-8511-4bf3-93bb-ab1cb70ce773&quot;},&quot;type&quot;:&quot;deployment.toolbox.model.ProjectLabel&quot;,&quot;uuid&quot;:&quot;6538c85b-cac6-4aa7-a0e3-6378f6f6fca5&quot;},&quot;toolboxName&quot;:&quot;ExamplesDrivenTester&quot;,&quot;toolboxVersion&quot;:&quot;0.91&quot;,&quot;uniqueId&quot;:&quot;6915c56f-feb2-4d6b-8a78-b2b5684cffde&quot;},&quot;type&quot;:&quot;deployment.toolbox.model.ToolboxConfiguration&quot;,&quot;uuid&quot;:&quot;b7354dd9-96ca-43f0-9ba6-e5611978bb3d&quot;},{&quot;content&quot;:{},&quot;type&quot;:&quot;deployment.toolbox.model.ProjectStateValidationIssueList&quot;,&quot;uuid&quot;:&quot;c655f06d-d0b5-414c-afd3-b48bb0010d7f&quot;}],&quot;packageUris&quot;:[&quot;http://schema.mathworks.com/mf0/deployment_toolbox_model/1.0.0&quot;],&quot;version&quot;:&quot;1.0&quot;}" displayName="toolbox Toolbox" taskID="0eaa96dc-e54e-4383-9d0b-f5f5bb4919ae" type="Toolbox" uniqueId="7d30595d-8511-4bf3-93bb-ab1cb70ce773"/>
388+
</Files>
389+
<Files Location="MathWorksDeploymentConfigs">
390+
<Info configMapData="{&quot;toolbox Toolbox&quot;:&quot;MathWorksDeploymentConfig{dc38b784-cea6-48b7-af09-29e6bbc24881}&quot;}"/>
391+
<DIR_SIGNIFIER Location="1">
392+
<Info/>
393+
</DIR_SIGNIFIER>
394+
</Files>
368395
</project>

toolbox/toolbox.ignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
% List the files in your toolbox folder to exclude from packaging. Specify the
2+
% file path as a path relative to the toolbox folder.
3+
% List only one exclude per line.
4+
%
5+
% For example:
6+
%
7+
% Exclude a specific file in the toolbox folder:
8+
% file1.svn
9+
%
10+
% Exclude a specific file in a subfolder of the toolbox folder:
11+
% example/file1.svn
12+
%
13+
% Exclude all files in a subfolder of the toolbox folder:
14+
% example/*
15+
%
16+
% Exclude all files with a certain name in all subfolders of the toolbox folder:
17+
% **/file1.svn
18+
%
19+
%Exclude all files matching a pattern in all subfolders of the toolbox folder:
20+
% **/*.bak
21+
%
22+
% Exclude all top level files and folders beginning with the character "%":
23+
% \%example/%file.svn
24+
%
25+
**/resources/project/**/*
26+
resources
27+
**/*.prj
28+
**/*.prj.bak
29+
**/.git/**/*
30+
**/.svn/**/*
31+
**/.buildtool/**/*
32+
**/*.asv
33+
% List files contained in your toolbox folder that you would like to exclude
34+
% from packaging. Excludes should be listed relative to the toolbox folder.
35+
% Some examples of how to specify excludes are provided below:
36+
%
37+
% A single file in the toolbox folder:
38+
% .svn
39+
%
40+
% A single file in a subfolder of the toolbox folder:
41+
% example\.svn
42+
%
43+
% All files in a subfolder of the toolbox folder:
44+
% example\*
45+
%
46+
% All files of a certain name in all subfolders of the toolbox folder:
47+
% **\.svn
48+
%
49+
% All files matching a pattern in all subfolders of the toolbox folder:
50+
% **\*.bak
51+
%
52+
**\*.asv

toolboxPackaging.prj

Lines changed: 0 additions & 172 deletions
This file was deleted.

0 commit comments

Comments
 (0)