File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -66,18 +66,19 @@ konflux-all: konflux-filter-unused-redhat-repos konflux-update-tekton-task-refs
6666# Rust build targets
6767
6868.PHONY : rust-deps
69- rust-deps : # # Install Rust build dependencies (protobuf-compiler)
69+ rust-deps : # # Install Rust build dependencies (protobuf-compiler, rustfmt, rust, clippy )
7070 @echo " Installing Rust build dependencies..."
7171 @if command -v apt > /dev/null 2>&1 ; then \
72- sudo apt update && sudo apt install -y protobuf-compiler; \
72+ sudo apt update && sudo apt install -y protobuf-compiler rustfmt rust clippy ; \
7373 elif command -v yum > /dev/null 2>&1 ; then \
74- sudo yum install -y protobuf-compiler; \
74+ sudo yum install -y protobuf-compiler rustfmt rust clippy ; \
7575 elif command -v dnf > /dev/null 2>&1 ; then \
76- sudo dnf install -y protobuf-compiler; \
76+ sudo dnf install -y protobuf-compiler rustfmt rust clippy ; \
7777 elif command -v brew > /dev/null 2>&1 ; then \
78- brew install protobuf; \
78+ # clippy and rustfmt are included with rust when installed via brew
79+ brew install protobuf rust; \
7980 else \
80- echo " Warning: Could not detect package manager. Please install protobuf-compiler manually." ; \
81+ echo " Warning: Could not detect package manager. Please install dependencies manually." ; \
8182 fi
8283 @echo " Dependencies installed successfully."
8384
You can’t perform that action at this time.
0 commit comments