Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Thomas Vachuska
2014-10-31 11:08:11 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
453314995965f5ee1dbf749e29234b5c13aec898
45331499
1 parent
146adf4a
Added onos-build-docs script.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
tools/build/onos-build-docs
tools/build/onos-build-docs
0 → 100755
View file @
4533149
#!/bin/bash
# -----------------------------------------------------------------------------
# Builds the ONOS from source.
# -----------------------------------------------------------------------------
[
! -d
"
$ONOS_ROOT
"
]
&&
echo
"ONOS_ROOT is not defined"
>&2
&&
exit
1
.
$ONOS_ROOT
/tools/build/envDefaults
apidocs
=
onos-apidocs-
${
ONOS_VERSION
%~*
}
set
-e -x
rm -fr
$ONOS_ROOT
/docs/target
cd
$ONOS_ROOT
/docs
mvn -f external.xml javadoc:aggregate
cd
target
&&
mv site/apidocs
$apidocs
tar zcf
$apidocs
.tar.gz
$apidocs
&&
cp
$apidocs
.tar.gz /tmp
cd
$ONOS_ROOT
/docs
mvn -f pom.xml javadoc:aggregate
Please
register
or
login
to post a comment