ironman v0.4.1 Ironman.Config View Source
This struct represents the state of the project. It is created at the beginning of a run, passed through all the checks, where it is updated, and then files are written out at the end based on its contents.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Ironman.Config{
changed: MapSet.t(atom()),
config_dev_exs: String.t() | nil,
config_exs: String.t(),
config_prod_exs: String.t() | nil,
config_test_exs: String.t() | nil,
coveralls_json: String.t() | nil,
credo_exs: String.t() | nil,
dialyzer_ignore: String.t() | nil,
gitignore: String.t() | nil,
mix_exs: String.t(),
starting_project_config: keyword()
}
t() :: %Ironman.Config{ changed: MapSet.t(atom()), config_dev_exs: String.t() | nil, config_exs: String.t(), config_prod_exs: String.t() | nil, config_test_exs: String.t() | nil, coveralls_json: String.t() | nil, credo_exs: String.t() | nil, dialyzer_ignore: String.t() | nil, gitignore: String.t() | nil, mix_exs: String.t(), starting_project_config: keyword() }
Link to this section Functions
Link to this function
any_changed?(config) View Source
Link to this function
app_name(config) View Source
Link to this function
changed?(config, key) View Source
Link to this function
get(config, key) View Source
Link to this function
new!() View Source
Link to this function
set(config, key, value, changed_flag \\ true)
View Source
set(config, key, value, changed_flag \\ true)
View Source
set(Ironman.Config.t(), atom(), String.t(), boolean()) :: Ironman.Config.t()
set(Ironman.Config.t(), atom(), String.t(), boolean()) :: Ironman.Config.t()