Module: Constants

Included in:
Config, ConfigSynthesizer, InfraCommand
Defined in:
lib/pangea/cli/constants.rb

Constant Summary collapse

ARTIFACT_FILE =

useful names

%(artifact.tf.json)
CACHE_DIR =

cli related constants

File.join(
  ENV.fetch(%(HOME), nil),
  %(.cache),
  %(pangea)
).freeze
PROJECT_VERSION =

project related constants

i[version.rb].freeze
PROJECT_SRC_DIRS =

order of elements matters here projects should be processed by collecting ruby files in exactly this order. changing this can significantly impact how a project is processed.

i[
  lib
  pre
  resources
  post
].freeze
EXTENSIONS =

configuration extensions

i[
  json
  toml
  yaml
  yml
  nix
  rb
].freeze