refactor: Makefile更新
Signed-off-by: devad <cossjie@foxmail.com>
This commit is contained in:
parent
9248eff6e5
commit
229266a83a
18
Makefile
18
Makefile
|
@ -1,15 +1,9 @@
|
|||
gateway:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-gateway gateway/main.go
|
||||
AC-grpc:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-ac adaptor/PCM-HPC/PCM-AC/rpc/hpcac.go
|
||||
|
||||
pod:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-pod adaptor/pcm_pod/main.go
|
||||
PCM-core:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-core adaptor/PCM-CORE/api/slurmcore.go
|
||||
|
||||
vm:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-vm adaptor/pcm_vm/main.go
|
||||
build: AC-grpc PCM-core
|
||||
|
||||
slurm:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-slurm adaptor/pcm_slurm/main.go
|
||||
|
||||
build: gateway pod vm slurm
|
||||
|
||||
.PHONY: gateway pod vm slurm build
|
||||
.PHONY: AC-grpc PCM-core build
|
|
@ -12,7 +12,7 @@ import (
|
|||
"github.com/zeromicro/go-zero/rest"
|
||||
)
|
||||
|
||||
var configFile = flag.String("f", "etc/slurmcore-api.yaml", "the config file")
|
||||
var configFile = flag.String("f", "adaptor/PCM-CORE/api/etc/slurmcore-api.yaml", "the config file")
|
||||
|
||||
func main() {
|
||||
flag.Parse()
|
||||
|
|
Loading…
Reference in New Issue