nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: Nitsmell : Adding new code smells and print console updated
[nit.git]
/
contrib
/
neo_doxygen
/
gen-one.sh
diff --git
a/contrib/neo_doxygen/gen-one.sh
b/contrib/neo_doxygen/gen-one.sh
index
90e7d01
..
2621c8d
100755
(executable)
--- a/
contrib/neo_doxygen/gen-one.sh
+++ b/
contrib/neo_doxygen/gen-one.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-one.sh directory
+# ./gen-one.sh <source_language> <directory>
#
# Document the project in the specified directory.
#
#
# Document the project in the specified directory.
#
@@
-25,13
+25,13
@@
NEO_DOXYGEN="${PWD}/bin/neo_doxygen"
NX="${PWD}/../../bin/nx"
NEO_DOXYGEN="${PWD}/bin/neo_doxygen"
NX="${PWD}/../../bin/nx"
-dir=$1
+dir=$2
. sh-lib/errors.sh
echo "$0: Documenting \"${dir##*/}\"..."
pushd "$dir"
. sh-lib/errors.sh
echo "$0: Documenting \"${dir##*/}\"..."
pushd "$dir"
-try "$NEO_DOXYGEN" "${dir##*/}" "$dir/doxygen/xml" http://localhost:7474 > neo_doxygen.out
+try "$NEO_DOXYGEN" --src-lang "$1" --dest http://localhost:7474 -- "${dir##*/}" "$dir/doxygen/xml"
try echo "$0: [done] neo_doxygen"
try "$NX" neo doc "${dir##*/}"
try echo "$0: [done] nx"
try echo "$0: [done] neo_doxygen"
try "$NX" neo doc "${dir##*/}"
try echo "$0: [done] nx"