-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
66 lines (49 loc) · 1.43 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
58
59
60
61
62
63
64
65
66
all:
@echo
@echo "Type the following commands in order to run the files."
@echo
@echo "------------------------------"
@echo "make install <- install the required modules."
@echo "make test-player <- Fetch a player. Set POST to True if you want to create the player page in your database"
@echo "make test-team <- Fetch a team. Set POST to True if you want to create the team page in your database"
@echo "make test-match <- Fetch a match. Set POST to True if you want to create the match page in your database"
install:
@pip install -r requirements.txt
test-player:
@python ./test/test_player.py
test-team:
@python ./test/test_team.py
test-match:
@python ./test/test_match.py
test-league:
@python ./test/test_league.py
# Fixtures
calendar:
@python ./scripts/create_calendar.py \
--league $(league)
today:
@python ./scripts/today_fixtures.py
update:
@python ./scripts/update_scores.py \
--league $(league) \
--week $(week)
delete:
@python ./scripts/delete.py \
--league $(league) \
--week $(week)
gameweek:
@python ./scripts/gameweek.py \
--league $(league) \
--week $(week)
delete-update:
@python ./scripts/delete.py \
--league $(league) \
--week $(week)
@python ./scripts/gameweek.py \
--league $(league) \
--week $(week)
@python ./scripts/update_scores.py \
--league $(league) \
--week $(week)
# instructions:
# @start "" instructions.pdf