mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Doxygen build updates
- Add doxygen build/install script - Update travis config and script to work with changes
This commit is contained in:
parent
611dc3015e
commit
fc7f622ee5
3 changed files with 36 additions and 6 deletions
11
.travis.yml
11
.travis.yml
|
@ -7,7 +7,7 @@ env:
|
||||||
# http://docs.travis-ci.com/user/environment-variables/#Global-Variables
|
# http://docs.travis-ci.com/user/environment-variables/#Global-Variables
|
||||||
global:
|
global:
|
||||||
- BITCOINORG_BUILD_TYPE=deployment
|
- BITCOINORG_BUILD_TYPE=deployment
|
||||||
- DOXYFILE: $TRAVIS_BUILD_DIR/doxygen/Doxyfile-dashdocs
|
- DOXYFILE: Doxyfile-dashdocs
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- gem update --system
|
- gem update --system
|
||||||
|
@ -17,10 +17,9 @@ before_install:
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- doxygen
|
- flex
|
||||||
- doxygen-doc
|
- bison
|
||||||
- doxygen-latex
|
- build-essential
|
||||||
- doxygen-gui
|
|
||||||
- graphviz
|
- graphviz
|
||||||
|
|
||||||
script: make travis
|
script: make travis
|
||||||
|
@ -41,5 +40,7 @@ deploy:
|
||||||
# Generate and deploy documentation
|
# Generate and deploy documentation
|
||||||
after_success:
|
after_success:
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
- chmod +x scripts/build-install-doxygen.sh
|
||||||
|
- ./scripts/build-install-doxygen.sh
|
||||||
- chmod +x scripts/generateDocumentationAndDeploy.sh
|
- chmod +x scripts/generateDocumentationAndDeploy.sh
|
||||||
- ./scripts/generateDocumentationAndDeploy.sh
|
- ./scripts/generateDocumentationAndDeploy.sh
|
||||||
|
|
29
scripts/build-install-doxygen.sh
Normal file
29
scripts/build-install-doxygen.sh
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Build instructions from: https://www.stack.nl/~dimitri/doxygen/download.html
|
||||||
|
echo "Cloning doxygen repository..."
|
||||||
|
git clone https://github.com/doxygen/doxygen.git doxygen-src
|
||||||
|
|
||||||
|
cd doxygen-src
|
||||||
|
|
||||||
|
# Use v1.8.14 (2f4139de014bf03898320a45fe52c92872c1e0f4)
|
||||||
|
git checkout 2f4139de014bf03898320a45fe52c92872c1e0f4 .
|
||||||
|
|
||||||
|
echo "Create build folder..."
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
|
||||||
|
echo "Make..."
|
||||||
|
cmake -G "Unix Makefiles" ..
|
||||||
|
make
|
||||||
|
|
||||||
|
echo "Done building doxygen..."
|
||||||
|
./bin/doxygen -v
|
||||||
|
|
||||||
|
echo "doxygen path: " $(pwd)
|
||||||
|
|
||||||
|
echo "Copy Doxygen binaries to $TRAVIS_BUILD_DIR"
|
||||||
|
cp ./bin/* $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.
|
||||||
doxygen $DOXYFILE 2>&1 | tee doxygen.log
|
$TRAVIS_BUILD_DIR/doxygen-src/build/bin/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