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
Jonathan Hart
2014-10-31 11:09:13 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
1a944a4adb361b13f2e32357c99e2e98897d4270
1a944a4a
2 parents
37226ceb
45331499
Merge branch 'master' of
ssh://gerrit.onlab.us:29418/onos-next
Show 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 @
1a944a4
#!/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