Add Homebrew packaging instructions (#4431)

* Changed name of brew formula back

* minor doc change

* again minor doc change

* Minor change again

* Update docs & azure-multiapi-storage package as 0.1.3 was bad sdist
This commit is contained in:
Derek Bekoe 2017-09-19 13:28:07 -07:00 коммит произвёл GitHub
Родитель df30857c26
Коммит 2ecebdc8ca
3 изменённых файлов: 14 добавлений и 7 удалений

Просмотреть файл

@ -4,19 +4,26 @@ Homebrew Packaging
Updating the formula
--------------------
1. Change the `url` in the formula to point to the new release (e.g. `azure-cli_packaged_2.0.14.tar.gz`).
2. Modify any checksums as required.
1. Change the `url` in the formula to point to the new release and change the `sha256` value also.
2. Update the resources list in the formula (see below).
3. Run the formula verification commands (see below).
4. Submit a PR to https://github.com/Homebrew/homebrew-core.
Updating the resources list
---------------------------
```
# Create a new virtual environment first
pip install azure-cli homebrew-pypi-poet; poet -r azure-cli
```
Verification
------------
```
$ brew install --build-from-source ./azure-cli@2.0.rb
$ brew test azure-cli@2.0
$ brew audit --strict --online azure-cli@2.0
brew install --build-from-source azure-cli.rb
brew test azure-cli.rb
brew audit --strict --online azure-cli.rb
```
More Information

Просмотреть файл

@ -30,7 +30,7 @@ CLASSIFIERS = [
]
DEPENDENCIES = [
'azure-multiapi-storage==0.1.3',
'azure-multiapi-storage==0.1.4',
'azure-mgmt-storage==1.2.0',
'azure-cli-core',
]

Просмотреть файл

@ -37,7 +37,7 @@ DEPENDENCIES = [
'azure-keyvault==0.3.4',
'azure-mgmt-network==1.4.0',
'azure-mgmt-resource==1.2.0rc1',
'azure-multiapi-storage==0.1.3',
'azure-multiapi-storage==0.1.4',
'azure-cli-core'
]