Преглед изворни кода

Add a make rule to refresh feeds (#3014)

Alexis Degrugillier пре 5 година
родитељ
комит
19b94b648b
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      Makefile

+ 7 - 0
Makefile

@@ -146,6 +146,9 @@ endif
 	@$(PHP) ./cli/manipulate.translation.php -a ignore -k $(key) -l $(lang)
 	@echo Key ignored.
 
+###########
+## TOOLS ##
+###########
 .PHONY: rtl
 rtl: ## Generate RTL CSS files
 	rtlcss -d p/themes && find . -type f -name '*.rtl.rtl.css' -delete
@@ -154,6 +157,10 @@ rtl: ## Generate RTL CSS files
 pot: ## Generate POT templates for docs
 	cd docs && ../cli/translation-update.sh
 
+.PHONY: refresh
+refresh: ## Refresh feeds by fetching new messages
+	@$(PHP) ./app/actualize_script.php
+
 ##########
 ## HELP ##
 ##########