1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

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>
{% endblock %}
{% 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 %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-66fa0d9bba.palette.css">
{% endif %}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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