-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Go SDK codegen for logic (#3736)
Moved preview codegen under the preview subdirectory. Moved Go SDK config to its own config file.
- Loading branch information
1 parent
db952e0
commit 2e9c081
Showing
2 changed files
with
56 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
## Go | ||
|
||
These settings apply only when `--go` is specified on the command line. | ||
|
||
``` yaml $(go) | ||
go: | ||
license-header: MICROSOFT_APACHE_NO_VERSION | ||
namespace: logic | ||
clear-output-folder: true | ||
``` | ||
### Go multi-api | ||
``` yaml $(go) && $(multiapi) | ||
batch: | ||
- tag: package-2018-07-preview | ||
- tag: package-2016-06 | ||
- tag: package-2015-08-preview | ||
- tag: package-2015-02-preview | ||
``` | ||
### Tag: package-2018-07-preview and go | ||
These settings apply only when `--tag=package-2018-07-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-07-preview' && $(go) | ||
output-folder: $(go-sdk-folder)/services/preview/logic/mgmt/package-2018-07-preview/logic | ||
``` | ||
|
||
### Tag: package-2016-06 and go | ||
|
||
These settings apply only when `--tag=package-2016-06 --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-2016-06' && $(go) | ||
output-folder: $(go-sdk-folder)/services/logic/mgmt/2016-06-01/logic | ||
``` | ||
|
||
### Tag: package-2015-08-preview and go | ||
|
||
These settings apply only when `--tag=package-2015-08-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-2015-08-preview' && $(go) | ||
output-folder: $(go-sdk-folder)/services/preview/logic/mgmt/2015-08-01-preview/logic | ||
``` | ||
|
||
### Tag: package-2015-02-preview and go | ||
|
||
These settings apply only when `--tag=package-2015-02-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-2015-02-preview' && $(go) | ||
output-folder: $(go-sdk-folder)/services/preview/logic/mgmt/2015-02-01-preview/logic | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters