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:
parent
96efd18c32
commit
0862c7587f
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/application-ba019b7fca.css
Normal file
1
material/assets/stylesheets/application-ba019b7fca.css
Normal file
File diff suppressed because one or more lines are too long
@ -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 %}
|
||||
|
@ -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 "$@"
|
||||
|
@ -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 "$@"
|
||||
|
@ -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
|
||||
|
@ -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 "@"
|
||||
|
@ -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
|
||||
|
@ -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 "$@"
|
||||
|
@ -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 "$@"
|
||||
|
@ -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 "$@"
|
||||
|
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user