Skip to content

Commit 4c84cdd

Browse files
committed
Create a Contents.m file to support version checking with ver()
1 parent e118690 commit 4c84cdd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ before_script:
4444
- docker run --mount src=$TRAVIS_BUILD_DIR/doc/manual,target=/usr/src/tex,type=bind dxjoke/tectonic-docker /bin/sh -c "tectonic robot.tex"
4545
# rename PDF and copy to src folder
4646
- mv doc/manual/robot.pdf ./robot.pdf
47+
## build a minimalist Contents.m file
48+
echo "% Robotics Toolbox for MATLAB" > Contents.m
49+
echo "% Version " `cat RELEASE` `date "+%e-%b-%G"` >> Contents.m
4750

4851
script:
4952
# run the unit tests with MATLAB on Travis cloud

0 commit comments

Comments
 (0)