We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7fc724 commit 98d9e0fCopy full SHA for 98d9e0f
1 file changed
Makefile
@@ -14,7 +14,13 @@ zoekt:
14
export CTAGS_COMMANDS=ctags
15
16
clean:
17
- redis-cli FLUSHALL
+ @if docker ps 2>/dev/null | grep -q sourcebot-redis; then \
18
+ echo "Flushing Redis in Docker container..."; \
19
+ docker exec sourcebot-redis redis-cli FLUSHALL; \
20
+ else \
21
+ echo "Flushing local Redis..."; \
22
+ redis-cli FLUSHALL; \
23
+ fi
24
yarn dev:prisma:migrate:reset
25
26
rm -rf \
@@ -36,7 +42,13 @@ clean:
36
42
37
43
soft-reset:
38
44
rm -rf .sourcebot
39
45
46
47
48
49
50
51
40
52
41
53
54
0 commit comments