Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: tools/update-doxygen.sh

Issue 280703002: comment-only fix to tools/update-doxygen.sh (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Runs doxygen and stores its results in the skia-autogen repo, so that they 3 # Runs doxygen and stores its results in the skia-autogen repo, so that they
4 # can be browsed at http://skia-autogen.googlecode.com/svn/docs/html/index.html 4 # can be browsed at http://skia-autogen.googlecode.com/svn/docs/html/index.html
5 # 5 #
6 # The DOXYGEN_TEMPDIR env variable is the working directory within which we will 6 # The DOXYGEN_TEMPDIR env variable is the working directory within which we will
7 # check out the code, generate documentation, and store the doxygen log 7 # check out the code, generate documentation, and store the doxygen log
8 # (by default, /tmp/skia-doxygen). The DOXYGEN_COMMIT env variable determines 8 # (by default, /tmp/skia-doxygen). The DOXYGEN_COMMIT env variable determines
9 # whether docs should be commited (true by default). 9 # whether docs should be commited (true by default).
10 # 10 #
11 # Sample Usage: 11 # Sample Usage:
12 # export DOXYGEN_TEMPDIR=/tmp/doxygen 12 # export DOXYGEN_TEMPDIR=/tmp/doxygen
13 # export DOXYGEN_COMMIT=false 13 # export DOXYGEN_COMMIT=false
14 # bash update-doxygen.sh 14 # bash update-doxygen.sh
15 #
16 # To install doxygen on most Linux systems, you can run:
17 # sudo apt-get install doxygen
15 18
16 function check_out_docs { 19 function check_out_docs {
17 svn checkout https://skia-autogen.googlecode.com/svn/docs # writeable 20 svn checkout https://skia-autogen.googlecode.com/svn/docs # writeable
18 ret_code=$? 21 ret_code=$?
19 if [ $ret_code != 0 ]; then 22 if [ $ret_code != 0 ]; then
20 # docs directory does not exist, skia-autogen must have been reset. 23 # docs directory does not exist, skia-autogen must have been reset.
21 # Create a non svn docs directory instead. 24 # Create a non svn docs directory instead.
22 mkdir docs 25 mkdir docs
23 fi 26 fi
24 } 27 }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 find . -name '*.png' -exec svn propset svn:mime-type image/png '{}' \; 103 find . -name '*.png' -exec svn propset svn:mime-type image/png '{}' \;
101 104
102 # Output files with documentation updates. 105 # Output files with documentation updates.
103 echo -e "\n\nThe following are the documentation updates:" 106 echo -e "\n\nThe following are the documentation updates:"
104 echo $MODFILES 107 echo $MODFILES
105 108
106 if $DOXYGEN_COMMIT ; then 109 if $DOXYGEN_COMMIT ; then
107 # Commit the updated docs to the subversion repo. 110 # Commit the updated docs to the subversion repo.
108 svn commit --message 'commit doxygen-generated documentation' 111 svn commit --message 'commit doxygen-generated documentation'
109 fi 112 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698