lib/pangea/cli/constants.rb
module Constants # useful names ARTIFACT_FILE = %(artifact.tf.json) # cli related constants CACHE_DIR = File.join( ENV.fetch(%(HOME), nil), %(.cache), %(pangea) ).freeze # project related constants PROJECT_VERSION = %i[version.rb].freeze # 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. PROJECT_SRC_DIRS = %i[ lib pre resources post ].freeze # configuration extensions EXTENSIONS = %i[ json toml yaml yml nix rb ].freeze end