diff --git a/Gemfile.lock b/Gemfile.lock index 9228e5a..28effa1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -86,7 +86,7 @@ GEM bindex (0.8.1) bootsnap (1.19.0) msgpack (~> 1.2) - brakeman (7.1.1) + brakeman (8.0.2) racc builder (3.3.0) bullet (8.1.0) diff --git a/Makefile b/Makefile index b3c8d54..4c97aa1 100644 --- a/Makefile +++ b/Makefile @@ -67,3 +67,9 @@ sim-email-once: ## Send a single simulated email (env: SENT_OFFSET_SECONDS, EXIS sim-email-stream: ## Start a continuous simulated email stream (env: MIN_INTERVAL_SECONDS, MAX_INTERVAL_SECONDS, EXISTING_ALIAS_PROB, EXISTING_TOPIC_PROB) $(COMPOSE) exec web ruby script/simulate_email_stream.rb + +rubocop: ## Run rubocop + $(COMPOSE) exec web bundle exec rubocop + +brakeman: ## Run brakeman + $(COMPOSE) exec web bin/brakeman