nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: nitunit: Use markdown2
[nit.git]
/
contrib
/
neo_doxygen
/
gen-all.sh
diff --git
a/contrib/neo_doxygen/gen-all.sh
b/contrib/neo_doxygen/gen-all.sh
index
bb7835a
..
4a19e9a
100755
(executable)
--- a/
contrib/neo_doxygen/gen-all.sh
+++ b/
contrib/neo_doxygen/gen-all.sh
@@
-14,7
+14,7
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-# ./gen-all.sh directory
+# ./gen-all.sh <source_language> <directory>
#
# Document all projects in the specified directory.
#
#
# Document all projects in the specified directory.
#
@@
-23,13
+23,11
@@
# Also, every project must include the Doxygen XML output in its `doxygen/xml`
# directory.
# Also, every project must include the Doxygen XML output in its `doxygen/xml`
# directory.
-NEO_DOXYGEN="${PWD}/bin/neo_doxygen"
-NX="${PWD}/../../bin/nx"
-
-for dir in "$1"/*; do
+for dir in "$2"/*; do
if [ -d "$dir" ]; then
if [ -f "$dir/.nx_config" ]; then
if [ -d "$dir" ]; then
if [ -f "$dir/.nx_config" ]; then
- ./gen-one.sh $dir
+ # Note: gen-one.sh already prints errors.
+ ./gen-one.sh "$1" "$dir" || exit
fi
fi
done
fi
fi
done