1
0
mirror of /repos/Prototyper.git synced 2026-02-27 16:12:00 +01:00

added groc and coverage

This commit is contained in:
Aiko Mastboom
2013-05-12 12:36:21 +02:00
parent 1d2116e43e
commit 3f7c13571b
6 changed files with 56 additions and 5 deletions

18
docit Executable file
View File

@@ -0,0 +1,18 @@
#!/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