mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
config - Copy Doxygen binary to folder for caching once built
This commit is contained in:
parent
e634177d3c
commit
9b8e4593cb
3 changed files with 6 additions and 4 deletions
|
@ -5,7 +5,7 @@ sudo: false
|
||||||
cache: bundler
|
cache: bundler
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $TRAVIS_BUILD_DIR/doxygen-src/build/bin
|
- $TRAVIS_BUILD_DIR/doxygen-install
|
||||||
env:
|
env:
|
||||||
# http://docs.travis-ci.com/user/environment-variables/#Global-Variables
|
# http://docs.travis-ci.com/user/environment-variables/#Global-Variables
|
||||||
global:
|
global:
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
echo $(ls doxygen-src/build/bin)
|
|
||||||
|
|
||||||
# Build instructions from: https://www.stack.nl/~dimitri/doxygen/download.html
|
# Build instructions from: https://www.stack.nl/~dimitri/doxygen/download.html
|
||||||
echo "Cloning doxygen repository..."
|
echo "Cloning doxygen repository..."
|
||||||
git clone https://github.com/doxygen/doxygen.git doxygen-src
|
git clone https://github.com/doxygen/doxygen.git doxygen-src
|
||||||
|
@ -23,4 +21,8 @@ make
|
||||||
echo "Done building doxygen..."
|
echo "Done building doxygen..."
|
||||||
./bin/doxygen -v
|
./bin/doxygen -v
|
||||||
|
|
||||||
|
echo "Copy Doxygen binary to folder for caching..."
|
||||||
|
mkdir -p $TRAVIS_BUILD_DIR/doxygen-install
|
||||||
|
cp bin/doxygen $TRAVIS_BUILD_DIR/doxygen-install/
|
||||||
|
|
||||||
cd $TRAVIS_BUILD_DIR
|
cd $TRAVIS_BUILD_DIR
|
||||||
|
|
|
@ -50,7 +50,7 @@ cp $TRAVIS_BUILD_DIR/doxygen/* doc/
|
||||||
##### Generate the Doxygen code documentation and log the output. #####
|
##### Generate the Doxygen code documentation and log the output. #####
|
||||||
echo 'Generating Doxygen code documentation...'
|
echo 'Generating Doxygen code documentation...'
|
||||||
# Redirect both stderr and stdout to the log file AND the console.
|
# Redirect both stderr and stdout to the log file AND the console.
|
||||||
$TRAVIS_BUILD_DIR/doxygen-src/build/bin/doxygen doc/$DOXYFILE 2>&1 | tee doxygen.log
|
$TRAVIS_BUILD_DIR/doxygen-install/doxygen doc/$DOXYFILE 2>&1 | tee doxygen.log
|
||||||
|
|
||||||
echo 'Done generating Doxygen code documentation...'
|
echo 'Done generating Doxygen code documentation...'
|
||||||
#cat doxygen.log
|
#cat doxygen.log
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue