Skip to content

Commit ef5fe59

Browse files
committed
fix(build): make rubocop invocation deterministic in make ready
1 parent c3a9fc6 commit ef5fe59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
.PHONY: help test lint lint-js lint-ruby lintfix lintfix-js lintfix-ruby setup dev clean frontend-setup check-frontend quick-check ready yard-verify-public-docs openapi openapi-verify openapi-client openapi-client-verify openapi-lint openapi-lint-redocly openapi-lint-spectral openai-lint-spectral test-frontend-e2e
44

5+
RUBOCOP_FLAGS ?= --cache false
6+
57
# Default target
68
help: ## Show this help message
79
@echo "html2rss-web Development Commands"
@@ -60,7 +62,7 @@ lint: lint-ruby lint-js ## Run all linters (Ruby + Frontend) - errors when issue
6062

6163
lint-ruby: ## Run Ruby linter (RuboCop) - errors when issues found
6264
@echo "Running RuboCop linting..."
63-
bundle exec rubocop
65+
bundle exec rubocop $(RUBOCOP_FLAGS)
6466
@echo "Running Zeitwerk eager-load check..."
6567
bundle exec rake zeitwerk:verify
6668
@echo "Running YARD public-method docs check..."

0 commit comments

Comments
 (0)