Skip to content
Snippets Groups Projects
compile.sh 394 B
Newer Older
  • Learn to ignore specific revisions
  • bcy603's avatar
    bcy603 committed
    #!/bin/bash
    
    if [ ! -f "$(command -v tweego)" ]; then
    	echo "Cannot find tweego. Please install tweego before compiling."
    	exit 1
    fi
    
    VERSION="$(git describe --tags --always --dirty)"
    
    
    TWEEGO_PATH="./StoryFormats" tweego -o "Degrees of Lewdity $VERSION.html" --head "build/head.html" game
    
    cp "Degrees of Lewdity $VERSION.html" "Degrees of Lewdity.html"
    echo "Done: \"Degrees of Lewdity.html\""