Skip to content

Commit

Permalink
Merge pull request #458 from mv1388/build-pkg-docu
Browse files Browse the repository at this point in the history
Build package support for document building
  • Loading branch information
mv1388 committed Apr 11, 2020
2 parents 3f3f437 + 7978153 commit ddd7f7a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion build_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,32 @@

source activate py36

build_documentation=false

while [[ $# -gt 0 ]]; do
key="$1"

case $key in
-d|--docu)
build_documentation=true
shift 1 # past argument value
;;
*) # unknown option
echo "Don't know the argument"
;;
esac
done


python setup.py test

python setup.py sdist

rm -r aitoolbox.egg-info
rm -r ./.eggs/
git add -A dist/
git add -A dist/


if [ "$build_documentation" == true ]; then
./doc_build.sh
fi
Binary file modified dist/aitoolbox-1.0.tar.gz
Binary file not shown.

0 comments on commit ddd7f7a

Please sign in to comment.