uppy/bin/build-css
Kevin van Zonneveld c65552b455 Make it so that bash scripts fail on the first fail
And add other handy/polite sugar such as easy traces and pointers to
current file
2015-12-11 10:49:33 +01:00

12 lines
333 B
Bash
Executable file

#!/usr/bin/env bash
set -o pipefail
set -o errexit
set -o nounset
# set -o xtrace
# Set magic variables for current file & dir
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
__file="${__dir}/$(basename "${BASH_SOURCE[0]}")"
__base="$(basename ${__file} .sh)"
node_modules/.bin/node-sass src/scss/index.scss -o dist/uppy.css