mirror of
/repos/Prototyper.git
synced 2026-02-27 16:12:00 +01:00
added groc and coverage
This commit is contained in:
18
docit
Executable file
18
docit
Executable 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
|
||||
Reference in New Issue
Block a user