chore: enable i18n warnings
This commit is contained in:
parent
eac410ae87
commit
0300663e83
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -4,14 +4,16 @@ SSH_HOST = www.cosin.ch
|
|||
SSH_USER = root
|
||||
TARGET_DIR = /var/www/cosin/
|
||||
|
||||
HUGO_FLAGS = --i18n-warnings
|
||||
|
||||
.PHONY: generate server upload clean
|
||||
|
||||
|
||||
generate:
|
||||
hugo
|
||||
hugo $(HUGO_FLAGS)
|
||||
|
||||
server:
|
||||
hugo server
|
||||
hugo $(HUGO_FLAGS) server
|
||||
|
||||
upload: generate
|
||||
rsync -P -rvzc --delete --exclude=fahrplan/ $(OUTPUT_DIR)/ $(SSH_USER)@$(SSH_HOST):$(TARGET_DIR)
|
||||
|
|
Loading…
Reference in a new issue