Skip to content

Commit

Permalink
Move Ruby SDK config to its own config file (#4451)
Browse files Browse the repository at this point in the history
The package-name variable for Ruby was colliding with the Go build.
Moved the Ruby config to its own file to avoid the collision.
  • Loading branch information
jhendrixMSFT authored Nov 13, 2018
1 parent dc782b3 commit 2ca50c8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 24 deletions.
25 changes: 1 addition & 24 deletions specification/databox/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,30 +105,7 @@ python:

## Ruby

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

``` yaml
package-name: azure_mgmt_databox
package-version: "0.0.1"
azure-arm: true
```

### Ruby multi-api

``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2018-01
```

### Tag: package-2018-01 and ruby

These settings apply only when `--tag=package-2018-01 --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.

``` yaml $(tag) == 'package-2018-01' && $(ruby)
namespace: "Azure::Compute::Mgmt::V2018_01_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_databox/lib
```
See configuration in [readme.ruby.md](./readme.ruby.md)

## Go

Expand Down
26 changes: 26 additions & 0 deletions specification/databox/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Ruby

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

``` yaml $(ruby)
package-name: azure_mgmt_databox
package-version: "0.0.1"
azure-arm: true
```
### Ruby multi-api
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2018-01
```
### Tag: package-2018-01 and ruby
These settings apply only when `--tag=package-2018-01 --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.

``` yaml $(tag) == 'package-2018-01' && $(ruby)
namespace: "Azure::Compute::Mgmt::V2018_01_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_databox/lib
```

0 comments on commit 2ca50c8

Please sign in to comment.