Fix protoc and staticcheck version #792
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#792
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:feat/makefile_deps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Now protoc (also protogen and protoc-gen-go) and staticcheck versions are fixed in
Makefile
.2661289eca
to8f8f52d6c0
8f8f52d6c0
to0899e93f72
@ -27,3 +31,3 @@
sed "s/-/~/")-${OS_RELEASE}
OUTPUT_LINT_DIR ?= $(shell pwd)/bin
OUTPUT_LINT_DIR ?= $(abspath $(BIN))/linters
To remove whole directory in case of
make lint-install
WIP: Fix protoc and staticcheck versionto Fix protoc and staticcheck version@ -189,7 +215,6 @@ version:
# Delete built artifacts
clean:
rm -rf vendor
Why this change?
vendor
was created by protoc target, i deleted this step, so looks like no vendor directory should exist.@ -97,0 +107,4 @@
@rm -rf $(PROTOBUF_DIR)
@mkdir $(PROTOBUF_DIR)
@echo "⇒ Installing protoc... "
@wget -q -O $(PROTOBUF_DIR)/protoc-$(PROTOC_VERSION)-linux-x86_64.zip 'https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOC_VERSION)/protoc-$(PROTOC_VERSION)-linux-x86_64.zip'
Not a practical concern, but what will happen if I want to develop on windows or macOS?
Added macOS support. There will be a bunch of other problems on Windows except protobuf generate:)
0899e93f72
to24ff7b7076
24ff7b7076
to066c05905a
066c05905a
tob4ebde61f6