1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00
Prototyper/bin/docit
2013-05-12 12:51:29 +02:00

19 lines
320 B
Bash
Executable File

#!/usr/bin/env bash
current_dir=$(cd $(dirname $0) && pwd)
base_dir=${current_dir}/..
cd ${base_dir}
command -v pygmentize
pygments_installed=$?
if [ ${pygments_installed} == 1 ]; then
easy_install pygments
fi
if [ ! -x ./node_modules/.bin/groc ]; then
npm install groc
fi
./node_modules/.bin/groc lib/*.js