Skip to content

Commit 81cb73b

Browse files
committed
Create a Contents.m file to support version checking with ver()
1 parent c4690c8 commit 81cb73b

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
@@ -30,6 +30,9 @@ before_script:
3030
- docker run --mount src=$TRAVIS_BUILD_DIR/doc/manual,target=/usr/src/tex,type=bind dxjoke/tectonic-docker /bin/sh -c "tectonic spatialmath.tex"
3131
# copy to src folder
3232
- mv doc/manual/spatialmath.pdf spatialmath-`cat ./RELEASE`.pdf
33+
## build a minimalist Contents.m file
34+
echo "% Spatial Math Toolbox for MATLAB" > Contents.m
35+
echo "% Version " `cat RELEASE` `date "+%e-%b-%G"` >> Contents.m
3336

3437
script:
3538
# run the unit tests with MATLAB on Travis cloud

0 commit comments

Comments
 (0)