-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
57 lines (47 loc) · 1.25 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#https://makefiletutorial.com/
.PHONY: info
info:
echo "\nList of Makefile commands:\n" && echo " readme" && echo " run" && echo " setup" && echo " packages" && echo " github" && echo " push"
info-info:
echo "\noutput the list of commands for this Makefile\n"
.PHONY: readme
readme:
echo "commit Readme file"
git commit -am 'readme'
echo "publish it on github on Master branch"
git push -u origin master
info-readme:
echo "\nCommit the Readme file and push this repository on Github\n"
.PHONY: setup
setup:
pip install poetry
poetry install -v
poetry run python sp_ask_service_availability_alert.py
info-setup:
echo "\nRun this python app\n"
.PHONY: pytest
pytest:
poetry run pytest -v
info-pytest:
echo "\nRunning Tests\n"
.PHONY: run
run:
poetry run python sp_ask_service_availability_alert.py
info-run:
echo "\nRun this python app\n"
.PHONY: packages
packages:
poetry install -v
info-packages:
echo "\nInstall packages\n"
.PHONY: github
github:
echo "--On Mac Open this github repository url--"
open https://github.com/scholarsportal/sp_ask_service_downtime_sms_alert_script
info-github:
echo "\nOpen this github repository url \n"
.PHONY: push
push:
git push -u origin master
info-push:
echo "\nGit Pushed to master branch repository\n"