Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Liqo Agent dependencies from Liqo Makefile #376

Merged
merged 1 commit into from Nov 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile
Expand Up @@ -9,7 +9,7 @@ else
GOBIN=$(shell go env GOBIN)
endif

gen: generate fmt vet manifests
gen: generate agent-dependencies-gen fmt vet manifests

#run all tests
test: unit e2e
Expand Down Expand Up @@ -50,6 +50,11 @@ vet:
generate: controller-gen
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."

# Generate Liqo Agent dependencies
agent-dependencies-gen:
chmod +x ./scripts/tray-agent/make_icon.sh
./scripts/tray-agent/make_icon.sh

# find or download controller-gen
# download controller-gen if necessary
controller-gen:
Expand Down