Skip to content

A free, self-hostable news aggregator…

Add a make rule to refresh feeds (#3014)

Alexis Degrugillier19b94b648bf9
diff --git a/Makefile b/Makefile
index 99046df9a..1e5433a44 100644
--- a/Makefile
+++ b/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 ##
##########