Azure / Azure/azure-sdk-tools

Consolidate '{output-dir}' to the default 'service-dir'

Open
#11,947 0 comments 0 reactions 1 assignee Claimed by @raych1 View on GitHub
Central-EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
144

Description

Once all the languages adopt the 'emitter-output-dir' configuration in its emitter option, we would like to move the common `{output-dir}` part to the default `service-dir`. The plan is to have a batch PR to update all the existing 'tspconfig.yaml' in spec repos.

Sample of current config:
```yml
parameters:
"service-dir":
default: "sdk/contoso"
options:
"@azure-tools/typespec-csharp":
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
flavor: azure
clear-output-folder: true
model-namespace: true
namespace: "Azure.ResourceManager.Contoso"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.