initial
This commit is contained in:
16
Makefile
Normal file
16
Makefile
Normal 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
|
||||
Reference in New Issue
Block a user