mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +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 -l $<
|
||||
ifneq ($(PRETTIER),)
|
||||
#$(PRETTIER) --parser html $< >/dev/null
|
||||
endif
|
||||
touch $@
|
||||
|
||||
.%.css.lint: %.css
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue