Created
March 29, 2018 09:11
-
-
Save mserranom/6d09a16a8ccf136b2e50002921419277 to your computer and use it in GitHub Desktop.
Example documentation postproccessing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "postprocessing documentation..." | |
PACKAGE=`cat blurr/PACKAGE` # PACKAGE and VERSION are generated during pypy package build | |
VERSION=`cat blurr/VERSION` | |
BRANCH=`git branch | sed -n -e 's/^\* \(.*\)/\1/p'` | |
sed -e "s/\@BRANCH@/$BRANCH/" binder/README-template.md > binder/README.md | |
sed -e "s/\@PACKAGE@/$PACKAGE/" -e "s/\@VERSION@/$VERSION/" binder/requirements-template.txt > binder/requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment