Makefile and agent start.
This commit is contained in:
16
Makefile
Normal file
16
Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
.PHONY: all build-agent build-manager clean
|
||||
|
||||
all: build-agent build-manager
|
||||
|
||||
build-agent:
|
||||
@echo "Building Go agent for x86_64..."
|
||||
cd agent && GOOS=linux GOARCH=amd64 go build -o bin/agent-amd64 .
|
||||
@echo "Building Go agent for aarch64..."
|
||||
cd agent && GOOS=linux GOARCH=arm64 go build -o bin/agent-arm64 .
|
||||
|
||||
build-manager:
|
||||
@echo "Setting up Python manager dependencies..."
|
||||
@echo "Run 'cd manager && pip install -r requirements.txt' in your environment to install dependencies."
|
||||
|
||||
clean:
|
||||
rm -rf agent/bin
|
||||
Reference in New Issue
Block a user