-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodd.conf
30 lines (25 loc) · 1.14 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
# app-user处理服务8081
**/*.go !app/im/**/*.go !app/api/**/*.go !build !**/*_test.go !app/job/**/*.go {
prep: go build -o build/rpc/user-rpc -v app/user/main.go;
daemon +sigkill: build/rpc/user-rpc -f configs/dev.yaml;
}
# app-api处理服务7080
**/*.go !app/im/**/*.go !app/user/**/*.go !build !**/*_test.go !app/job/**/*.go {
prep: go build -o build/api/api -v app/api/main.go;
daemon +sigkill: build/api/api -f configs/dev.yaml;
}
# app-im-handler处理服务7084
**/*.go !app/im/server/**/*.* !**/*_test.go !build !app/api/**/*.go !app/user/**/*.go !app/job/**/*.go {
prep: go build -o build/im/im-handler -v app/im/handler/main.go;
daemon +sigkill: build/im/im-handler -f configs/dev.yaml;
}
# app-im-server处理服务7082 rpc 7083
**/*.go !app/im/handler/**/*.* !**/*_test.go !build !app/api/**/*.go !app/user/**/*.go !app/job/**/*.go {
prep: go build -o build/im/im-server -v app/im/server/main.go;
daemon +sigkill: build/im/im-server -f configs/dev.yaml;
}
app-job
**/*.go !app/im/**/*.go !app/api/**/*.go !build !**/*_test.go {
prep: go build -o build/job/job -v app/job/main.go;
daemon +sigkill: build/job/job -f configs/dev.yaml;
}