-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
76 lines (59 loc) · 1.24 KB
/
Makefile
File metadata and controls
76 lines (59 loc) · 1.24 KB
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
67
68
69
70
71
72
73
74
75
76
# Makefile for data-collection
# Ray Crist, 2021
# Since I called these Python scripts so regularly,
# I used make commands to speed up startup.
.PHONY: tweets users geos prior-adopters friends activity
############
define TWTS_PY
from utils.data_collection import download_tweets
download_tweets.run()
endef
export TWTS_PY
tweets:
python3 -c "$$TWTS_PY"
###########
############
define USERS_PY
from utils.data_collection import download_users
download_users.run()
endef
export USERS_PY
users:
python3 -c "$$USERS_PY"
############
############
define GEOS_PY
from utils.data_collection import download_geos
download_geos.run()
endef
export GEOS_PY
geos:
python3 -c "$$GEOS_PY"
############
############
define PRIOR_BOOL_PY
from utils.data_collection import download_prior_bool
download_prior_bool.run()
endef
export PRIOR_BOOL_PY
prior-adopters:
python3 -c "$$PRIOR_BOOL_PY"
############
############
define FRIENDS_PY
from utils.data_collection import download_friends
download_friends.run()
endef
export FRIENDS_PY
friends:
python3 -c "$$FRIENDS_PY"
###########
############
define ACTIVITY_PY
from utils.data_collection import download_activity
download_activity.run()
endef
export ACTIVITY_PY
activity:
python3 -c "$$ACTIVITY_PY"
###########