Module: Constants

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

Constant Summary collapse

ARTIFACT_FILE =
%(artifact.tf.json).freeze
CACHE_DIR =
File.join(
  Dir.home,
  %(.cache),
  %(pangea)
).freeze
PROJECT_VERSION =
%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[
  resources
  post
  lib
  pre
].freeze
EXTENSIONS =

configuration extensions

%i[
  json
  toml
  yaml
  yml
  nix
  rb
].freeze