This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
81 lines (70 loc) · 1.82 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
help:
@echo " post_init"
@echo " generate .env file. Insert your credentials here"
@echo " "
@echo " init"
@echo " initialize docker-compose and .env_<username> files"
@echo " "
@echo " build"
@echo " build the docker image"
@echo " "
@echo " run"
@echo " run the docker image"
@echo " "
@echo " dailies"
@echo " instruct all containers to start sending raffles and daily gifts"
@echo " "
@echo " delete_notifications"
@echo " instruct all containers to clear raffle tickets notifications"
@echo " "
@echo " collect_dailies"
@echo " instruct all containers to accept gift of the day"
@echo " "
@echo " afk_mode"
@echo " when there is king's reward, will refresh and wait for fix"
@echo " "
@echo " refresh"
@echo " will force a refresh"
@echo " "
@echo " login user=<username>"
@echo " logins to the \`username\` account in a gui firefox session"
@echo " "
@echo " status"
@echo " shows the most recent status of each account"
@echo " "
.PHONY: post_init
post_init:
@./scripts/post_init.sh
.PHONY: init
init:
@./scripts/generate_config.sh
@mkdir -p ~/.config/systemd/user/
.PHONY: build
build:
@docker build . \
--shm-size 6g \
-t mousehunt
.PHONY: run
run:
@./scripts/run.sh
.PHONY: dailies
dailies:
@./scripts/find_and_replace.sh dailies
.PHONY: delete_notifications
delete_notifications:
@./scripts/find_and_replace.sh delete_raffle_tickets
.PHONY: collect_dailies
collect_dailies:
@./scripts/find_and_replace.sh collect_dailies
.PHONY: afk_mode
afk_mode:
@./scripts/find_and_replace.sh afk_mode
.PHONY: refresh
refresh:
@./scripts/find_and_replace.sh refresh
.PHONY: login
login:
./scripts/launch_browser.sh ${user}
.PHONY: status
status:
@./scripts/status.sh