mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
htdocs.mk: Lint php files via prettier if it's installed
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
77b2c49e28
commit
a0b8deec21
1 changed files with 3 additions and 0 deletions
|
|
@ -51,6 +51,9 @@ endif
|
||||||
|
|
||||||
.%.php.lint: %.php
|
.%.php.lint: %.php
|
||||||
php -l $<
|
php -l $<
|
||||||
|
ifneq ($(PRETTIER),)
|
||||||
|
#$(PRETTIER) --parser html $< >/dev/null
|
||||||
|
endif
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
.%.css.lint: %.css
|
.%.css.lint: %.css
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue