Fixed issues with whitespaces in path for scripts

This commit is contained in:
squidfunk 2017-03-11 14:58:13 +01:00 committed by Martin Donath
parent 96efd18c32
commit 0862c7587f
12 changed files with 23 additions and 23 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -38,7 +38,7 @@
<script src="{{ base_url }}/assets/javascripts/modernizr-56ade86843.js"></script> <script src="{{ base_url }}/assets/javascripts/modernizr-56ade86843.js"></script>
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-a0d49b40f6.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-ba019b7fca.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-66fa0d9bba.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-66fa0d9bba.palette.css">
{% endif %} {% endif %}

View File

@ -21,11 +21,11 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Run command # Run command
$(yarn bin)/gulp build --clean --optimize --revision "$@" "$(yarn bin)"/gulp build --clean --optimize --revision "$@"

View File

@ -21,11 +21,11 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Run command # Run command
$(yarn bin)/gulp clean "$@" "$(yarn bin)"/gulp clean "$@"

View File

@ -21,18 +21,18 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Annotate source files # Annotate source files
$(yarn bin)/gulp assets:javascripts:annotate "$@" "$(yarn bin)"/gulp assets:javascripts:annotate "$@"
FLOW_JSDOC=$? FLOW_JSDOC=$?
# Run flow typecheck # Run flow typecheck
$(yarn bin)/flow check tmp "$(yarn bin)"/flow check tmp
FLOW=$? FLOW=$?
# If one command failed, exit with error # If one command failed, exit with error

View File

@ -21,11 +21,11 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Run command # Run command
$(yarn bin)/gulp help "@" "$(yarn bin)"/gulp help "@"

View File

@ -21,18 +21,18 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Run ESLint # Run ESLint
$(yarn bin)/eslint --max-warnings 0 . "$(yarn bin)"/eslint --max-warnings 0 .
ESLINT=$? ESLINT=$?
# Run Stylelint # Run Stylelint
$(yarn bin)/stylelint `find src/assets -name *.scss` "$(yarn bin)"/stylelint `find src/assets -name *.scss`
STYLELINT=$? STYLELINT=$?
# If one command failed, exit with error # If one command failed, exit with error

View File

@ -21,12 +21,12 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Run command # Run command
$(yarn bin)/gulp clean && \ "$(yarn bin)"/gulp clean && \
$(yarn bin)/gulp watch --no-lint "$@" "$(yarn bin)"/gulp watch --no-lint "$@"

View File

@ -21,11 +21,11 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Run command # Run command
$(yarn bin)/gulp tests:visual:run --clean --no-optimize "$@" "$(yarn bin)"/gulp tests:visual:run --clean --no-optimize "$@"

View File

@ -21,11 +21,11 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Run command # Run command
$(yarn bin)/gulp tests:visual:session "$@" "$(yarn bin)"/gulp tests:visual:session "$@"

View File

@ -21,11 +21,11 @@
# IN THE SOFTWARE. # IN THE SOFTWARE.
# Check if "yarn install" was executed # Check if "yarn install" was executed
if [[ ! -d $(yarn bin) ]]; then if [[ ! -d "$(yarn bin)" ]]; then
echo "\"node_modules\" not found:" echo "\"node_modules\" not found:"
echo "yarn install" echo "yarn install"
exit 1 exit 1
fi fi
# Run command # Run command
$(yarn bin)/gulp tests:visual:update "$@" "$(yarn bin)"/gulp tests:visual:update "$@"