tweak to doc

This commit is contained in:
parrt 2016-12-15 13:04:59 -08:00
parent 7f95781321
commit 0c332f704c
1 changed files with 3 additions and 16 deletions

View File

@ -233,9 +233,10 @@ popd
**Getting ready to run Nuget**
Of course you need Mono to be installed and also `nuget`. On mac:
Of course you need Mono and `nuget` to be installed. On mac:
```bash
brew install mono
brew install nuget
```
@ -247,12 +248,6 @@ From the shell on mac, you can check all is ok by typing
nuget
```
On linux it's likely:
```bash
mono <path-to-nuget.exe>
```
This should display the nuget help.
**Creating the assembly**
@ -265,8 +260,6 @@ $ xbuild /p:Configuration=Release Antlr4.Runtime.mono.csproj
Done building project "/Users/parrt/antlr/code/antlr4/runtime/CSharp/runtime/CSharp/Antlr4.Runtime/Antlr4.Runtime.mono.csproj".
```
(Or `mono xbuild ...`)
Alternately, you may want to build ANTLR using Xamarin Studio Community (free).
**Packaging for NuGet**
@ -285,12 +278,6 @@ Attempting to build package from 'Package.nuspec'.
Successfully created package '/Users/parrt/antlr/code/antlr4/runtime/CSharp/runtime/CSharp/Antlr4.Runtime.Standard.4.6.0.nupkg'.
```
or
```bash
mono <path-to-nuget.exe> pack Package.nuspec
```
This should display: Successfully created package *&lt;package-path>*
**Publishing to NuGet**
@ -301,7 +288,7 @@ As a registered NuGet user, you can then manually upload the package spec here (
Alternately, you can publish from the cmd line. You need to get your NuGet key from [https://www.nuget.org/account#](https://www.nuget.org/account#) and then from the cmd line, you can then type:
```bash
mono <path-to-nuget.exe> push Antlr4.Runtime.Standard.<version>.nupkg <your-key> -Source https://www.nuget.org/api/v2/package
nuget push Antlr4.Runtime.Standard.<version>.nupkg <your-key> -Source https://www.nuget.org/api/v2/package
```
**Creating DLLs**