Skip to content

Instantly share code, notes, and snippets.

@ahmedfaragmostafa
Created July 19, 2018 10:53
Show Gist options
  • Save ahmedfaragmostafa/6ce01b20703a6b9b660d3a310ec1a69f to your computer and use it in GitHub Desktop.
Save ahmedfaragmostafa/6ce01b20703a6b9b660d3a310ec1a69f to your computer and use it in GitHub Desktop.
.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