<commit_before># Variables definitions:

# Variable definition recursively expanded when the variable is used,
# Not when it's declared
REBAR = $(shell which rebar || echo ./rebar)

DIALYZER = dialyzer
DIALYZER_WARNINGS = -Wunmatched_returns -Werror_handling \
                    -Wrace_conditions -Wunderspecs

ERL = erl -I include -noshell -pa ebin

# Variable definition expanded when it's declared
APP := elixir

# Mark deps and ebin as phony because
# they are managed by rebar.
.PHONY: deps ebin

# Makefile targets format:
#
# 	target: dependencies
# 	[tab] system command
#
compile: deps ebin exbin

deps:
	@ $(REBAR) get-deps

clean:
	@ $(REBAR) clean

distclean:
	@ $(REBAR) delete-deps

doc:
	@ $(REBAR) doc skip_deps=true

docs: deps compile
	@ bin/elixirc "lib/**/*.ex" --ignore-module-conflict --docs -o for_docs
	@ rm -rf exbin
	@ mv for_docs exbin

test: test_erlang test_elixir

test_erlang: deps compile
	@ $(REBAR) skip_deps=true eunit

test_elixir: deps compile
	@ echo "==> elixir (exunit)"
	@ time bin/elixir -r "test/elixir/**/*_test.exs"

release: compile test
	dialyzer --src src $(DIALYZER_WARNINGS)

ebin:
	@ $(REBAR) compile

exbin: lib/*.ex lib/*/*.ex
	@ rm -rf exbin
	@ mkdir -p exbin
	@ touch exbin
	$(ERL) -s elixir_compiler core -s erlang halt<commit_msg>Disable parallel compile.<commit_after># Variables definitions:

# Variable definition recursively expanded when the variable is used,
# Not when it's declared
REBAR = $(shell which rebar || echo ./rebar)

DIALYZER = dialyzer
DIALYZER_WARNINGS = -Wunmatched_returns -Werror_handling \
                    -Wrace_conditions -Wunderspecs

ERL = erl -I include -noshell -pa ebin

# Variable definition expanded when it's declared
APP := elixir

# Mark deps and ebin as phony because
# they are managed by rebar.
.PHONY: deps ebin

# Disable parallel in compile
.NOTPARALLEL: compile

# Makefile targets format:
#
# 	target: dependencies
# 	[tab] system command
#
compile: deps ebin exbin

deps:
	@ $(REBAR) get-deps

clean:
	@ $(REBAR) clean

distclean:
	@ $(REBAR) delete-deps

doc:
	@ $(REBAR) doc skip_deps=true

docs: deps compile
	@ bin/elixirc "lib/**/*.ex" --ignore-module-conflict --docs -o for_docs
	@ rm -rf exbin
	@ mv for_docs exbin

test: test_erlang test_elixir

test_erlang: deps compile
	@ $(REBAR) skip_deps=true eunit

test_elixir: deps compile
	@ echo "==> elixir (exunit)"
	@ time bin/elixir -r "test/elixir/**/*_test.exs"

release: compile test
	dialyzer --src src $(DIALYZER_WARNINGS)

ebin:
	@ $(REBAR) compile

exbin: lib/*.ex lib/*/*.ex
	@ rm -rf exbin
	@ mkdir -p exbin
	@ touch exbin
	$(ERL) -s elixir_compiler core -s erlang halt
{'fraction_non_alphanumeric': 0.1142640938327658, 'fraction_numerical': 0.0, 'mean_word_length': 3.6962699822380105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4635985', 'n_tokens_mistral': 1038, 'n_tokens_neox': 1003, 'n_words': 299}