mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Try to fix Travis build
This commit is contained in:
parent
24882c2057
commit
9cae185391
10
Makefile
10
Makefile
@ -184,13 +184,9 @@ material/%.yml: src/%.yml
|
||||
NAME = $(shell jq -r '.name' package.json)
|
||||
VERSION = $(shell jq -r '.version' package.json)
|
||||
material: $$@/assets $$@/__init__.py $$@/mkdocs_theme.yml ${HTML}
|
||||
echo ${NAME}
|
||||
echo ${VERSION}
|
||||
ls package.json
|
||||
cat package.json
|
||||
@ sed -i "" 's/\$$md-name\$$/${NAME}/' $@/base.html
|
||||
@ sed -i "" 's/\$$md-version\$$/${VERSION}/' $@/base.html
|
||||
@ sed -i "" 's/\$$md-lunr-languages\$$/${LUNR_LANGUAGES}/' $@/base.html
|
||||
@ sed -i"" "s/\$$md-name\$$/${NAME}/" $@/base.html
|
||||
@ sed -i"" "s/\$$md-version\$$/${VERSION}/" $@/base.html
|
||||
@ sed -i"" "s/\$$md-lunr-languages\$$/${LUNR_LANGUAGES}/" $@/base.html
|
||||
@ echo "\n ${NAME}-${VERSION}\n"
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user