--- # This file defines `power_stencil` executable defaults. # It can be overridden via various mechanisms (mainly coming from # the `climatic` gem), so system-wide config file, user config file, # executable config file, project config file or for some of the # properties directly from command line. # PROJECT PATHS # Default Power Stencil project configuration directory :default_config_directory_name: .ps_project # Ignore files for files/directory to completely skip in the process :ignore_filename_for_files_to_skip: .copy_ignore # Ignore files for files/directory to simply copy and apply no substitution :ignore_filename_for_files_to_copy: .subst_ignore # Ignore files for files/directory to simply copy and apply no renaming (see # below :file_renaming_patterns: for more info) :ignore_filename_for_files_to_rename: .rename_ignore # Versioned project config file name. :versioned_project_config_file_name: versioned-config.yaml # Non versioned user's personal project config file name. :unversioned_user_project_config_file_name: personal-config.yaml # Entity definitions specific to the project :project_entity_definitions_directory_name: entity_definitions # Templates templates specific to the project :project_templates_directory_name: templates-templates # Directory name where entities are stored :project_entities_directory_name: entities # Directory name where user (unversioned) entities are stored :user_entities_directory_name: user_entities # Directory name where repository plugins are stored :project_plugins_directory_name: plugins # Root directory where builds are generated :project_build_root_directory_name: build # Versioned entities templates directory :versioned_entities_templates_directory_name: templates # Unversioned entities templates directory :unversioned_user_entities_templates_directory_name: unversioned-templates # Last build link name :project_build_last_stable_path: last_build # Previous build link name :project_build_previous_stable_path: previous_build # DSL CUSTOMIZATIONS # Customizations for the shell. Basically defining various behaviors # of Pry which is the underlying REPL. :shell_dsl: :prompt_level_1: 'PowerStencil DSL> ' :prompt_level_2: 'PowerStencil DSL --> ' :session_greetings: |+ ------------------------------------------------------------------------------- Welcome to the PowerStencil shell session In this shell you have access to anything the templating engine has access to. On top of this, you can view, edit, save and delete entities. - Retrieve and manipulate entities using the `entities` hash. - Persist your changes using the `save` method on each entity. - Create new project or user entities using `new_` and `user_new_` methods (see `available_entity_types` for a list of possible types). - And of course, it is a fully fledged Ruby Pry REPL, so you can do anything you want... Type `exit` to end your session. ------------------------------------------------------------------------------- # TEMPLATING ENGINE # Map to define which kind of template engine for which type of file. Be careful if you # overlap two definitions. Warning, it is ruby Regex not shell pattern ! :templating_engines_map: # Currently all files are rendered using ERB engine :erb: '.*' # Files matching particular patterns can be changed on the fly :file_renaming_patterns: # Specific .gitignore hack for `power_stencil init` as .gitignore should be processed # *after* .ps_project ^(.+)\.zzzgitignore\.erb$: '\1.gitignore' # Erb files ^(.+)\.erb$: '\1' # PLUGINS # Define the property to avoid a nil. It represents the plugins that are provided # as real Ruby gems. Local plugins defined in the `:project_plugins_directory_name:` # are automatically discovered and loaded. :project_plugins: [] # Graphviz # Customize graphviz properties :graphviz: :label: < Repository Entities
> :labelloc: :t :show_config: false :file_type: :svg :graph_type: :digraph :node: :shape: box :style: filled :fillcolor: grey95 :customizations: {} # MISC # Default log level (warn) :log-level: 2 # Maximum number of retries when editing a file :max_file_edit_retry_times: 3 # Integration with git :no-git: false