From f28d3caa3bcd0ec6a5d1c5819813d9df7b739f54 Mon Sep 17 00:00:00 2001 From: Thanh Vu Date: Thu, 7 Sep 2023 12:02:58 +0700 Subject: [PATCH] Update ProjectSpec.md --- Docs/ProjectSpec.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Docs/ProjectSpec.md b/Docs/ProjectSpec.md index 2cd3c461..34b2574d 100644 --- a/Docs/ProjectSpec.md +++ b/Docs/ProjectSpec.md @@ -34,6 +34,7 @@ You can also use environment variables in your configuration file, by using `${S - [Legacy Target](#legacy-target) - [Aggregate Target](#aggregate-target) - [Target Template](#target-template) +- [Global Template Attributes](#global-template-attributes) - [Scheme](#scheme) - [Build](#build) - [Common Build Action options](#common-build-action-options) @@ -915,6 +916,15 @@ targetTemplates: - ${frameworkName}/${target_name} ``` +## Global template attributes + +This is place to define global variables used to resolve missing `${target_name}` within each template. This also helps share attributes between yaml files. + +```yaml +globalTemplateAttributes: + version: legacy +``` + ## Scheme Schemes allows for more control than the convenience [Target Scheme](#target-scheme) on [Target](#target)