Skip to content

Commit

Permalink
A very basic and crude test is in place
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbuttars committed Jan 30, 2012
1 parent bc368c4 commit 624813a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 241 deletions.
241 changes: 0 additions & 241 deletions README.mkd

This file was deleted.

12 changes: 12 additions & 0 deletions bin/createstyles
@@ -0,0 +1,12 @@
#!/bin/bash

style_list=$(pygmentize -L styles | grep -e '* ' | sed -e 's/^\* //g' | sed -e 's/:$//g')

echo "<div id=\"style_options\">"
echo "<p>Choose a pygments style</p>"
for style in $style_list
do
pygmentize -S $style -f html -a .codehilite > $style.css
echo -e "<a href=\"#\" name=\"$style\" >$style</a>"
done
echo "</div><br />"
34 changes: 34 additions & 0 deletions bin/sdist
@@ -0,0 +1,34 @@
#!/bin/bash

# Build the Python distribution

set -e

erase=''
while getopts 'r' opts
do
case $opts in
r)
erase='true'
esac
done

# source the settings and activate the virtualenv
THIS_DIR=$(readlink -f $(dirname $BASH_SOURCE))
. $THIS_DIR/../.settings.sh

buildenv

cd $TOP_DIR

if [[ -n $erase ]]; then
echo "erasing the Python distribution files"
rm -fr dist
README.txt
else
vimdown README.vim -o README.txt
python setup.py sdist
fi


cd -

0 comments on commit 624813a

Please sign in to comment.