File: benchmark

package info (click to toggle)
node-bufferjs 3.1.0%2Bgit20160608.605b357%2B~cs0.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 280 kB
  • sloc: javascript: 189; makefile: 14; sh: 11
file content (12 lines) | stat: -rwxr-xr-x 234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
for arg in $@; do
    case $arg in
        '--nobuild') nobuild=1 ;;
        '--help') help=1 ;;
    esac
done
if [ ! $nobuild ] && [ ! $help ]; then
    env cake build || exit 1
fi
cd lib/benchmark
exec env node pipe.js $@