Skip to content

Commit 3c0e95c

Browse files
committed
rename output file as RTB.mltbx
don't exclude the lib folder! reinstate the unit tests
1 parent 38faab4 commit 3c0e95c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ deploy:
5858
api_key: $GITRELEASE
5959
file:
6060
- robot.pdf
61-
- "Robotics_Toolbox_for_MATLAB.mltbx"
61+
- RTB.mltbx
6262
skip_cleanup: true
6363
overwrite: true

PackageToolbox.prj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
**/.travis*
3838
doc/*
3939
distrib
40-
lib
4140
Octave
4241
*.md
4342
*.html

unit_test/RunAllTests.m

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,17 @@
6060
%% Run all unit tests in my repository
6161
fprintf('---------------------------------- Run the unit tests ------------------------------------\n')
6262

63-
%results = runner.run(suite);
63+
results = runner.run(suite);
6464

6565
% Assert no tests failed
66-
%assert(all(~[results.Failed]));
66+
assert(all(~[results.Failed]));
6767

6868
%% Build the toolbox distribution file
6969
fprintf('---------------------------------- Build the MLTBX file ------------------------------------\n')
7070
cd ..
71+
% add more folders to the path to ensure they go in the MLTBX file
7172
addpath demos
7273
addpath examples
7374
addpath Apps
7475

75-
matlab.addons.toolbox.packageToolbox('PackageToolbox.prj')
76+
matlab.addons.toolbox.packageToolbox('PackageToolbox.prj', 'RTB.mltbx')

0 commit comments

Comments
 (0)