From f8310faa6a8b92e1050b5426a6e6c49c7e52f517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Mon, 4 Apr 2016 03:43:57 -0500 Subject: [PATCH] Creates documentation/changelog.html by taking changelog.md. Uses pandoc. --- scripts/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index e73bc12..6f2bb23 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,6 +1,7 @@ #!/bin/bash # Define paths for a regular use, if there are not paths for python32 or 64, these commands will be taken. pythonpath32="/C/python27x86" +pandocpath="pandoc.exe" help () { echo -e "$0 | usage:" @@ -35,6 +36,16 @@ if [ -d dist/ ]; then rm -rf dist 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" mv -f dist ../nightly/socializer rm -rf build