mirror of https://github.com/rancher/dashboard.git
23 lines
284 B
Bash
Executable File
23 lines
284 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
BUILD_DEBUG="${BUILD_DEBUG:-}"
|
|
if [[ -n "${BUILD_DEBUG}" ]]; then
|
|
set -x
|
|
env
|
|
fi
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
echo "Bootstrapping..."
|
|
yarn --pure-lockfile install
|
|
|
|
echo "Linting..."
|
|
yarn run lint
|
|
|
|
echo "Testing..."
|
|
yarn run test
|
|
|
|
echo "Building..."
|
|
yarn run build
|