Browse Source

Add release script

master
Dimitri Merejkowsky 6 years ago
parent
commit
b8cfa1d9af
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      sessions/release.sh

+ 12
- 0
sessions/release.sh View File

@@ -0,0 +1,12 @@
#!/bin/zsh

set -e

if [[ -z $1 ]]; then
echo "Usage: build.sh NUMBER"
exit 1
fi


darkslide --linenos=no "${1}.md" --embed --destination "${1}.html"
prince "${1}.html" -o "${1}.pdf"