diff --git a/Makefile b/Makefile index 8bcb743..51fcc39 100644 --- a/Makefile +++ b/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 \ No newline at end of file +.PHONY: AC-grpc PCM-core build \ No newline at end of file diff --git a/adaptor/PCM-CORE/api/slurmcore.go b/adaptor/PCM-CORE/api/slurmcore.go index 998aada..601fef0 100644 --- a/adaptor/PCM-CORE/api/slurmcore.go +++ b/adaptor/PCM-CORE/api/slurmcore.go @@ -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()