From 0c332f704cdb6b96b7fcdb7c51f233d686ae6fbe Mon Sep 17 00:00:00 2001 From: parrt Date: Thu, 15 Dec 2016 13:04:59 -0800 Subject: [PATCH] tweak to doc --- doc/releasing-antlr.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/doc/releasing-antlr.md b/doc/releasing-antlr.md index 203e4e70e..ad0df0863 100644 --- a/doc/releasing-antlr.md +++ b/doc/releasing-antlr.md @@ -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 -``` - 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 pack Package.nuspec -``` - This should display: Successfully created package *<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 push Antlr4.Runtime.Standard..nupkg -Source https://www.nuget.org/api/v2/package +nuget push Antlr4.Runtime.Standard..nupkg -Source https://www.nuget.org/api/v2/package ``` **Creating DLLs**