-
Notifications
You must be signed in to change notification settings - Fork 0
/
modd.conf
63 lines (55 loc) · 2.38 KB
/
modd.conf
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
# user
apps/user/cmd/rpc/**/*.go {
prep: go build -o data/server/user-rpc -v apps/user/cmd/rpc/user.go
daemon +sigkill: ./data/server/user-rpc -f apps/user/cmd/rpc/etc/user.yaml
}
apps/user/cmd/api/**/*.go {
prep: go build -o data/server/user-api -v apps/user/cmd/api/user.go
daemon +sigkill: ./data/server/user-api -f apps/user/cmd/api/etc/user.yaml
}
# video
apps/video/cmd/rpc/**/*.go {
prep: go build -o data/server/video-rpc -v apps/video/cmd/rpc/video.go
daemon +sigkill: ./data/server/video-rpc -f apps/video/cmd/rpc/etc/video.yaml
}
apps/video/cmd/api/**/*.go {
prep: go build -o data/server/video-api -v apps/video/cmd/api/video.go
daemon +sigkill: ./data/server/video-api -f apps/video/cmd/api/etc/video.yaml
}
# social
apps/social/cmd/rpc/**/*.go {
prep: go build -o data/server/social-rpc -v apps/social/cmd/rpc/social.go
daemon +sigkill: ./data/server/social-rpc -f apps/social/cmd/rpc/etc/social.yaml
}
apps/social/cmd/api/**/*.go {
prep: go build -o data/server/social-api -v apps/social/cmd/api/social.go
daemon +sigkill: ./data/server/social-api -f apps/social/cmd/api/etc/social.yaml
}
# search
apps/search/cmd/rpc/**/*.go {
prep: go build -o data/server/search-rpc -v apps/search/cmd/rpc/search.go
daemon +sigkill: ./data/server/search-rpc -f apps/search/cmd/rpc/etc/search.yaml
}
apps/search/cmd/api/**/*.go {
prep: go build -o data/server/search-api -v apps/search/cmd/api/search.go
daemon +sigkill: ./data/server/search-api -f apps/search/cmd/api/etc/search.yaml
}
# recommend
apps/recommend/cmd/rpc/**/*.go {
prep: go build -o data/server/recommend-rpc -v apps/recommend/cmd/rpc/recommend.go
daemon +sigkill: ./data/server/recommend-rpc -f apps/recommend/cmd/rpc/etc/recommend.yaml
}
apps/recommend/cmd/api/**/*.go {
prep: go build -o data/server/recommend-api -v apps/recommend/cmd/api/recommend.go
daemon +sigkill: ./data/server/recommend-api -f apps/recommend/cmd/api/etc/recommend.yaml
}
# consumer
apps/mqueue/cmd/consumer/**/*.go {
prep: go build -o data/server/like-mq -v apps/mqueue/cmd/consumer/consumer.go
daemon +sigkill: ./data/server/like-mq -f apps/mqueue/cmd/consumer/etc/consumer.yaml
}
# mqueue-job
apps/mqueue/cmd/job/**/*.go {
prep: go build -o data/server/mqueue-job -v apps/mqueue/cmd/job/mqueue.go
daemon +sigkill: ./data/server/mqueue-job -f apps/mqueue/cmd/job/etc/mqueue.yaml
}