<commit_before>MAKEFLAGS += --warn-undefined-variables
SHELL := /bin/bash
.SHELLFLAGS := -eu -o pipefail -c
.DEFAULT_GOAL := help
.SUFFIXES:

ALL_TARGETS := $(shell egrep -o ^[0-9A-Za-z_-]+: $(MAKEFILE_LIST) | sed 's/://')
ALL_TEST_TARGETS := $(filter-out all help, $(ALL_TARGETS))

.PHONY: $(ALL_TARGETS)

all: $(ALL_TEST_TARGETS)
	@:

build: ## Build an image from a Dockerfile
	@echo -e "\033[36m$@\033[0m"
	@./build.sh

hadolint: ## Check for Dockerfile
	@echo -e "\033[36m$@\033[0m"
	@hadolint Dockerfile

rspec: build ## Test the applicattion
	@echo -e "\033[36m$@\033[0m"
	@./testexecutor.sh rspec -O /dev/null -fd

rubocop: build ## Check for Ruby scripts
	@echo -e "\033[36m$@\033[0m"
	@./testexecutor.sh rubocop -L

shellcheck: ## Check for shell scripts
	@echo -e "\033[36m$@\033[0m"
	@shellcheck *.sh

help: ## Print this help<commit_msg>Add update_lockfile to make's target<commit_after>MAKEFLAGS += --warn-undefined-variables
SHELL := /bin/bash
.SHELLFLAGS := -eu -o pipefail -c
.DEFAULT_GOAL := help
.SUFFIXES:

ALL_TARGETS := $(shell egrep -o ^[0-9A-Za-z_-]+: $(MAKEFILE_LIST) | sed 's/://')

.PHONY: $(ALL_TARGETS)

all: update_lockfile hadolint shellcheck build rubocop rspec ## Update Gemfile.lock, build, and all test
	@:

build: ## Build an image from a Dockerfile
	@echo -e "\033[36m$@\033[0m"
	@./build.sh

hadolint: ## Check for Dockerfile
	@echo -e "\033[36m$@\033[0m"
	@hadolint Dockerfile

rspec: build ## Test the applicattion
	@echo -e "\033[36m$@\033[0m"
	@./testexecutor.sh rspec -O /dev/null -fd

rubocop: build ## Check for Ruby scripts
	@echo -e "\033[36m$@\033[0m"
	@./testexecutor.sh rubocop -L

shellcheck: ## Check for shell scripts
	@echo -e "\033[36m$@\033[0m"
	@shellcheck *.sh

update_lockfile: ## Update Gemfile.lock
	@echo -e "\033[36m$@\033[0m"
	@./update_lockfile.sh

help: ## Print this help
{'fraction_non_alphanumeric': 0.17899891186071817, 'fraction_numerical': 0.05603917301414581, 'mean_word_length': 3.904, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1280413', 'n_tokens_mistral': 841, 'n_tokens_neox': 768, 'n_words': 192}