View Source Igniter.Project.IgniterConfig (igniter v0.5.0)

Tools for reading and modifying the .igniter.exs file.

The command mix igniter.setup will generate this file, as well as keep it up to date with any new configurations. You can run this command at any time to update the file without overriding your own config.

If the file does not exist, all values are considered to have their default value.

Options

  • module_location -

    • :outside_matching_folder, modules will be placed in a folder exactly matching their path.
    • :inside_matching_folder, modules who's name matches an existing folder will be placed inside that folder, or moved there if the folder is created.
  • extensions - A list of extensions to use in the project.

  • source_folders - A list of folders to manage elixir files in.

  • dont_move_files - A list of strings or regexes. Any files that equal (in the case of strings) or match (in the case of regexes) will not be moved.

Summary

Functions

add_extension(igniter, extension)

dont_move_file_pattern(igniter, pattern)

get(igniter, config)

setup(igniter)