Skip to content

Commit

Permalink
Go SDK: move preview package under preview subdirectory (#3571)
Browse files Browse the repository at this point in the history
* Go SDK: move preview package under preview subdirectory

* move Go-specific config to readme.go.md
  • Loading branch information
jhendrixMSFT authored Aug 2, 2018
1 parent 369c902 commit 7ac6e89
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 35 deletions.
33 changes: 33 additions & 0 deletions specification/cost-management/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## Go

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

``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
namespace: costmanagement
clear-output-folder: true
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-05
- tag: package-2018-09-preview
```
### Tag: package-2018-05 and go
These settings apply only when `--tag=package-2018-05 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2018-05' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-05-31/$(namespace)
```

### Tag: package-2018-09-preview and go
These settings apply only when `--tag=package-2018-09-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2018-09-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-09-01-preview/$(namespace)
```
35 changes: 0 additions & 35 deletions specification/cost-management/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,41 +106,6 @@ python:
output-folder: $(python-sdks-folder)/azure-mgmt-costmanagement
```

## Go

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

``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
namespace: costmanagement
clear-output-folder: true
```

### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-05
- tag: package-2018-09-preview
```

### Tag: package-2018-05 and go
These settings apply only when `--tag=package-2018-05 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2018-05' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-05-31/$(namespace)
```

### Tag: package-2018-09-preview and go
These settings apply only when `--tag=package-2018-09-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2018-09-preview' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-09-01-preview/$(namespace)
```


## Java

These settings apply only when `--java` is specified on the command line.
Expand Down

0 comments on commit 7ac6e89

Please sign in to comment.