chore: enable i18n warnings

This commit is contained in:
Adrian Friedli 2018-04-29 22:53:53 +02:00
parent eac410ae87
commit 0300663e83
No known key found for this signature in database
GPG key ID: 72488301A5824477

View file

@ -4,14 +4,16 @@ SSH_HOST = www.cosin.ch
SSH_USER = root SSH_USER = root
TARGET_DIR = /var/www/cosin/ TARGET_DIR = /var/www/cosin/
HUGO_FLAGS = --i18n-warnings
.PHONY: generate server upload clean .PHONY: generate server upload clean
generate: generate:
hugo hugo $(HUGO_FLAGS)
server: server:
hugo server hugo $(HUGO_FLAGS) server
upload: generate upload: generate
rsync -P -rvzc --delete --exclude=fahrplan/ $(OUTPUT_DIR)/ $(SSH_USER)@$(SSH_HOST):$(TARGET_DIR) rsync -P -rvzc --delete --exclude=fahrplan/ $(OUTPUT_DIR)/ $(SSH_USER)@$(SSH_HOST):$(TARGET_DIR)