This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodd.conf
64 lines (56 loc) · 2.61 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
64
#app/captcha/cmd/rpc/** pkg/** 代表需要监控这两个目录下的改动
#prep 表示如何编译程序
#daemon +sigkill 表示程序如何杀死并启动
#user
app/user/cmd/rpc/**/*.go {
prep: go build -o data/server/user-rpc -v app/user/cmd/rpc/user.go
daemon +sigkill: ./data/server/user-rpc -f app/user/cmd/rpc/etc/user.yaml
}
app/user/cmd/api/**/*.go {
prep: go build -o data/server/user-api -v app/user/cmd/api/user.go
daemon +sigkill: ./data/server/user-api -f app/user/cmd/api/etc/user.yaml
}
#verification
app/verification/cmd/rpc/**/*.go {
prep: go build -o data/server/verification-rpc -v app/verification/cmd/rpc/verification.go
daemon +sigkill: ./data/server/verification-rpc -f app/verification/cmd/rpc/etc/verification.yaml
}
app/verification/cmd/api/**/*.go {
prep: go build -o data/server/verification-api -v app/verification/cmd/api/verification.go
daemon +sigkill: ./data/server/verification-api -f app/verification/cmd/api/etc/verification.yaml
}
app/disk/cmd/rpc/**/*.go {
prep: go build -o data/server/disk-rpc -v app/disk/cmd/rpc/disk.go
daemon +sigkill: ./data/server/disk-rpc -f app/disk/cmd/rpc/etc/disk.yaml
}
app/disk/cmd/api/**/*.go {
prep: go build -o data/server/disk-api -v app/disk/cmd/api/disk.go
daemon +sigkill: ./data/server/disk-api -f app/disk/cmd/api/etc/disk.yaml
}
#Community
app/community/cmd/api/**/*.go {
prep: go build -o data/server/community-api -v app/community/cmd/api/community.go
daemon +sigkill: ./data/server/community-api -f app/community/cmd/api/etc/community.yaml
}
#order
# app/order/cmd/rpc/**/*.go {
# prep: go build -o data/server/order-rpc -v app/order/cmd/rpc/order.go
# daemon +sigkill: ./data/server/order-rpc -f app/order/cmd/rpc/etc/order.yaml
# }
# app/order/cmd/api/**/*.go {
# prep: go build -o data/server/order-api -v app/order/cmd/api/order.go
# daemon +sigkill: ./data/server/order-api -f app/order/cmd/api/etc/order.yaml
# }
# app/order/cmd/mq/**/*.go {
# prep: go build -o data/server/order-mq -v app/order/cmd/mq/order.go
# daemon +sigkill: ./data/server/order-mq -f app/order/cmd/mq/etc/order.yaml
# }
# mqueue
app/mqueue/cmd/scheduler/**/*.go {
prep: go build -o data/server/mqueue-scheduler -v app/mqueue/cmd/scheduler/mqueue.go
daemon +sigkill: ./data/server/mqueue-scheduler -f app/mqueue/cmd/scheduler/etc/mqueue.yaml
}
app/mqueue/cmd/job/**/*.go {
prep: go build -o data/server/mqueue-job -v app/mqueue/cmd/job/mqueue.go
daemon +sigkill: ./data/server/mqueue-job -f app/mqueue/cmd/job/etc/mqueue.yaml
}