Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (18 sloc) 959 Bytes
rm -rf docs
mkdir -p docs/casbah-commons
mkdir -p docs/casbah-core
mkdir -p docs/casbah-gridfs
mkdir -p docs/casbah-query
sbt "update" "clean" "doc"
cp -R casbah-commons/target/scala_2.8.0/classes.sxr docs/casbah-commons/sxr
cp -R casbah-commons/target/scala_2.8.0/doc/main/api docs/casbah-commons/api
cp -R casbah-core/target/scala_2.8.0/classes.sxr docs/casbah-core/sxr
cp -R casbah-core/target/scala_2.8.0/doc/main/api docs/casbah-core/api
cp -R casbah-gridfs/target/scala_2.8.0/classes.sxr docs/casbah-gridfs/sxr
cp -R casbah-gridfs/target/scala_2.8.0/doc/main/api docs/casbah-gridfs/api
cp -R casbah-query/target/scala_2.8.0/classes.sxr docs/casbah-query/sxr
cp -R casbah-query/target/scala_2.8.0/doc/main/api docs/casbah-query/api
cp doc_index.html docs/index.html
cd docs
perl -p -i -e 's#*(casbah-.*)/src/main/scala#\1/sxr#gi' `find ./ -name \*.html`
Jump to Line
Something went wrong with that request. Please try again.