#!/usr/bin/env bash

#     .--.
#   _(    `.       .
#  (        )       \  /
# ( `  .  )  ) .-----\/-----.
#  `--(___.-'  |bytesized.tv|
#              '-----__-----'
#                  __||__
#
# This project is a part of the “Byte-Sized JavaScript” videocasts.
#
# You can watch “Byte-Sized JavaScript” at: https://bytesized.tv
#
# MIT Licensed — See LICENSE.md
#
# Send your comments, suggestions, and feedback to me@volkan.io
#

yarn run lint

if [ $? != 0 ]; then
    echo "Lints failed. — Exiting."

    exit 1
fi

# NODE_ENV=test jest

echo "Everything is awesome!"
