#!/usr/bin/env bash

# Skip on global installation or when fetched from registry
if [ "$TRAVIS" != "true" ] && [ ! ${npm_config_global} ] && [ -d 'lib/' ] && [ "$OSTYPE" != "win32" ] && [ "$OSTYPE" != "win64" ]; then
    bash scripts/browser_build.sh
else
    echo "Skipping browser build..."
fi
