Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/Json-validate.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/golangci-lint.yml

This file was deleted.

10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
config.yml
vue/node_modules
vue/dist
release/
.idea/
.vscode/
.DS_Store
ts-client/*
*.dot
*.log
*.ign
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ ldflags := $(strip $(ldflags))
BUILD_FLAGS := -tags "$(build_tags)" -ldflags '$(ldflags)'

check_version:
ifneq ($(GO_MINOR_VERSION),22)
@echo "ERROR: Go version 1.22 is required for building BCNAD."
ifeq ($(shell expr $(GO_MINOR_VERSION) \< 23), 1)
@echo "ERROR: Go version 1.23 or newer is required for building BCNAD."
exit 1
endif


build: check_version go.sum
@echo "--> Building..."
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILD_DIR)/ ./...
Expand Down
Loading