Skip to content

Commit f95fe1c

Browse files
committed
Script to copy javadocs to /apidocs
1 parent 83fa3fa commit f95fe1c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/etc/bin/copy-javadocs.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
3+
THIS_DIR=`readlink -f $0`
4+
THIS_DIR=`dirname $THIS_DIR`
5+
6+
if [ "$OS" = "Windows_NT" ]; then
7+
THIS_DIR=`echo "$THIS_DIR" | tr \\\\ /`
8+
fi
9+
10+
BASE_DIR=$THIS_DIR/../../..
11+
12+
rm -rf $BASE_DIR/apidocs
13+
cp -rf $BASE_DIR/src/fbjava/target/apidocs $BASE_DIR

0 commit comments

Comments
 (0)