Last Updated: February 25, 2016
·
256
· beatrichartz

Require a Directory of Elixir files shorthand

E.g. if you want to require test helpers from a directory:

Enum.each(Path.wildcard(Path.expand("./test/helpers/**/*.ex")), &Code.require_file/1)

might come in handy.