This commit is contained in:
2025-05-16 23:26:14 -07:00
commit 9b405f4fb7
3 changed files with 47 additions and 0 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
.PHONY: default commit clean
default: commit
commit: hosts
@echo "Committing changes to the repository..."
@git add hosts hosts.txt list.txt
@git commit -m "Update hosts file"
@git push origin main
hosts: list.txt
./generate.sh > $@
cp $@ hosts.txt
clean:
@rm -rf hosts hosts.txt