Sha256: 6a1be0da659cb9ff625ea2b8d07b16c0561a500a4510548f778e8c084b0f8be9

Contents?: true

Size: 764 Bytes

Versions: 3

Compression:

Stored size: 764 Bytes

Contents

#!/bin/bash
echo -n 'testling user: '
read user

stty -echo
echo -n 'password: '
read pass
stty echo

function tick () {
    cat <(echo 'process={};') ../builtins/__browserify_process.js tick.js \
        | curl -sSNT- -u "$user:$pass" testling.com
}

function util () {
    tar -cf- util.js ../builtins/util.js |
        curl -sSNT- -u "$user:$pass" \
        'http://testling.com/?main=util.js&noinstrument=builtins/util.js'
}

function timers () {
    tar -cf- timers.js ../builtins/timers.js |
        curl -sSNT- -u "$user:$pass" \
        'http://testling.com/?main=timers.js'
}

if test -z "$1"; then
    tick
    util
    timers
elif test "$1" == 'tick'; then
    tick
elif test "$1" == 'util'; then
    util
elif test "$1" == 'timers'; then
    timers
fi

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
snowball-0.1.22 node_modules/browserify/testling/test.sh
sprockets-browserify-0.1.2 node_modules/browserify/testling/test.sh
sprockets-browserify-0.1.0 node_modules/browserify/testling/test.sh