Created
July 19, 2018 10:53
-
-
Save ahmedfaragmostafa/6ce01b20703a6b9b660d3a310ec1a69f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DEFAULT_GOAL := install | |
help: | |
@echo "" | |
@echo "Available tasks:" | |
@echo " clean delete file content" | |
@echo " downlaod download file" | |
@echo " execute execute certain task" | |
@echo "" | |
clean: | |
@echo 'clean triggered' | |
cat /dev/null > dummy.txt | |
download: | |
@echo "download task triggered" | |
wget https://raw.githubusercontent.com/ahmedfaragmostafa/ipInfo/master/ipInfo.sh | |
execute: | |
@echo "execute task triggered" | |
sh ipInfo.sh | |
install: clean download execute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment