Creates documentation/changelog.html by taking changelog.md. Uses pandoc.
This commit is contained in:
parent
bab325e60e
commit
f8310faa6a
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Define paths for a regular use, if there are not paths for python32 or 64, these commands will be taken.
|
# Define paths for a regular use, if there are not paths for python32 or 64, these commands will be taken.
|
||||||
pythonpath32="/C/python27x86"
|
pythonpath32="/C/python27x86"
|
||||||
|
pandocpath="pandoc.exe"
|
||||||
|
|
||||||
help () {
|
help () {
|
||||||
echo -e "$0 | usage:"
|
echo -e "$0 | usage:"
|
||||||
@ -35,6 +36,16 @@ if [ -d dist/ ];
|
|||||||
then
|
then
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
fi
|
fi
|
||||||
|
if [ -d documentation/ ];
|
||||||
|
then
|
||||||
|
rm -rf documentation
|
||||||
|
fi
|
||||||
|
mkdir documentation
|
||||||
|
cp ../changelog.md documentation/changelog.md
|
||||||
|
cd documentation
|
||||||
|
$pandocpath -s changelog.md -o changelog.html
|
||||||
|
rm changelog.md
|
||||||
|
cd ..
|
||||||
$pythonpath32/python.exe "setup.py" "py2exe" "--quiet"
|
$pythonpath32/python.exe "setup.py" "py2exe" "--quiet"
|
||||||
mv -f dist ../nightly/socializer
|
mv -f dist ../nightly/socializer
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
Loading…
Reference in New Issue
Block a user