Skip to content

Commit 9875f8e

Browse files
add configuration for track 2 agfood (Azure#14568)
1 parent 394395e commit 9875f8e

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

specification/agfood/resource-manager/readme.go.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,10 @@
22

33
These settings apply only when `--go` is specified on the command line.
44

5-
```yaml $(go)
6-
go:
7-
license-header: MICROSOFT_MIT_NO_VERSION
8-
namespace: agfood
9-
clear-output-folder: true
10-
```
11-
12-
### Go multi-api
13-
14-
``` yaml $(go) && $(multiapi)
15-
batch:
16-
- tag: package-2020-05-12-preview
17-
```
18-
19-
### Tag: package-2020-05-12-preview and go
20-
21-
These settings apply only when `--tag=package-2020-05-12-preview --go` is specified on the command line.
22-
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
23-
24-
```yaml $(tag) == 'package-2020-05-12-preview' && $(go)
25-
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-05-12-preview/$(namespace)
5+
```yaml $(go) && $(track2)
6+
license-header: MICROSOFT_MIT_NO_VERSION
7+
module-name: sdk/agfood/armagfood
8+
module: github.com/Azure/azure-sdk-for-go/$(module-name)
9+
output-folder: $(go-sdk-folder)/$(module-name)
10+
azure-arm: true
2611
```

specification/agfood/resource-manager/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ This is not used by Autorest itself.
5050
```yaml $(swagger-to-sdk)
5151
swagger-to-sdk:
5252
- repo: azure-sdk-for-python-track2
53-
- repo: azure-sdk-for-go
5453
- repo: azure-sdk-for-js
5554
```
5655
## Go

0 commit comments

Comments
 (0)