View Source ExTTRPGDev.Globals (ExTTRPGDev v0.3.0)
Module which defines globals like project paths
Link to this section Summary
Functions
The regex pattern for identifying json files
The name for license files
The path to where custom rule system configs are stored
The path to where the project lives on your machine
The path to where system configs are stored
Link to this section Functions
The regex pattern for identifying json files
examples
Examples
iex> ExTTRPGDev.Globals.json_file_name() ~r/.+.json$/
The name for license files
examples
Examples
iex> ExTTRPGDev.Globals.license_file_name() "license.md"
The path to where custom rule system configs are stored
examples
Examples
iex> ExTTRPGDev.Globals.local_system_configs_path()
"/full/path/to/project/ex_ttrpg_dev/local_system_configs"
The path to where the project lives on your machine
examples
Examples
iex> ExTTRPGDev.Globals.project_root()
"/full/path/to/project/ex_ttrpg_dev"
The path to where system configs are stored
examples
Examples
iex> ExTTRPGDev.Globals.system_configs_path()
"/full/path/to/project/ex_ttrpg_dev/system_configs"