Skip to content

Commit

Permalink
rename output file as RTB.mltbx
Browse files Browse the repository at this point in the history
don't exclude the lib folder!
reinstate the unit tests
  • Loading branch information
petercorke committed Feb 23, 2020
1 parent 38faab4 commit 3c0e95c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ deploy:
api_key: $GITRELEASE
file:
- robot.pdf
- "Robotics_Toolbox_for_MATLAB.mltbx"
- RTB.mltbx
skip_cleanup: true
overwrite: true
1 change: 0 additions & 1 deletion PackageToolbox.prj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
**/.travis*
doc/*
distrib
lib
Octave
*.md
*.html
Expand Down
7 changes: 4 additions & 3 deletions unit_test/RunAllTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,17 @@
%% Run all unit tests in my repository
fprintf('---------------------------------- Run the unit tests ------------------------------------\n')

%results = runner.run(suite);
results = runner.run(suite);

% Assert no tests failed
%assert(all(~[results.Failed]));
assert(all(~[results.Failed]));

%% Build the toolbox distribution file
fprintf('---------------------------------- Build the MLTBX file ------------------------------------\n')
cd ..
% add more folders to the path to ensure they go in the MLTBX file
addpath demos
addpath examples
addpath Apps

matlab.addons.toolbox.packageToolbox('PackageToolbox.prj')
matlab.addons.toolbox.packageToolbox('PackageToolbox.prj', 'RTB.mltbx')

0 comments on commit 3c0e95c

Please sign in to comment.