Module: Gotsha::Config

Included in:
Gotsha
Defined in:
lib/gotsha/config.rb

Constant Summary collapse

CONFIG_DIR =
".gotsha"
CONFIG_FILE =
File.join(CONFIG_DIR, "config.toml")
CONFIG_TEMPLATE_PATH =
File.expand_path("templates/config.toml", __dir__)
GH_CONFIG_FILE =
File.join(".github", "workflows", "gotsha.yml")
GH_CONFIG_TEMPLATE_PATH =
File.expand_path("templates/github_action_example.yml", __dir__)
GL_CONFIG_FILE =
".gitlab-ci.gotsha.yml"
GL_CONFIG_TEMPLATE_PATH =
File.expand_path("templates/gitlab_action_example.yml", __dir__)
HOOKS_TEMPLATES_DIR =
File.expand_path("templates", __dir__)
HOOKS_DIR =
File.join(CONFIG_DIR, "hooks")