Skip to content

Commit

Permalink
public release v1.6
Browse files Browse the repository at this point in the history
    * NEW: Executable version. Implemented `-unpack` command.
           To generate minified version from executable.
           ```
           gnt -unpack
           ```

    * NEW: Executable version. Implemented `-msbuild` command.
           To use specific msbuild for executable version.
           ```
           gnt -msbuild "D:\MSBuild\bin\amd64\msbuild" /p:ngpackages="Conari"
           ```

    * NEW: Added ';' splitter for .config files.
           The `|` now is marked as obsolete and can be removed in new versions.

    * NEW: MSBuild-helper with `-notamd64` option.
           Related issue: 3F/vsSolutionBuildEvent#38

    * FIXED: Part of unhandled exceptions has been changed on messages to stderr:
            `The "PrepareList" task failed unexpectedly / FileNotFoundException`
             The "NGPack" task - DirectoryNotFoundException & The "NGDownload" task - WebException 404

    * CHANGED: Value of `ngconfig` property now is `packages.config` by default.
  • Loading branch information
3F committed Dec 8, 2016
1 parent e6ad529 commit e3bc988
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The lightweight non-binary NuGet Client as a portable & embeddable tool for work
[NuGet gnt.raw("/t:pack /p:ngin=\"7z.Libs\"")] # Compiled variant via vssbe
```

[just try](https://github.com/3F/GetNuTool/releases/download/v1.5/gnt.bat) this:
[just try](https://github.com/3F/GetNuTool/releases/download/v1.6/gnt.bat) this:
```bash
gnt /p:ngpackages="Conari;regXwild" # To get `Conari` & `regXwild` packages
gnt /t:pack /p:ngin="bin\DllExport" # To create new NuGet package from `bin\DllExport` .nuspec
Expand Down Expand Up @@ -86,7 +86,7 @@ Settings:

Property | Description | Default values
-----------|-------------------------------------------------------------------------|-----------------
ngconfig | Where to look the packages.config files. | v1.5.1+ `packages.config`, v1.0 - v1.5: `.nuget\packages.config`
ngconfig | Where to look the packages.config files. | v1.6+ `packages.config`, v1.0 - v1.5: `.nuget\packages.config`
ngserver | NuGet server. | v1.0+ `https://www.nuget.org/api/v2/package/`
ngpackages | List of packages. Use it first if defined, otherwise find via ngconfig | v1.0+ *empty*
ngpath | Common path for all packages. | v1.0+ `packages`
Expand Down Expand Up @@ -138,8 +138,8 @@ packages.config:

multiple:

* `;` - v1.5.1+
* `|` - v1.0+ (obsolete)
* `;` - v1.6+
* `|` - v1.0+ (*obsolete and can be removed in new versions*)

```bash
/p:ngconfig="debug.config;release.config;..."
Expand Down Expand Up @@ -253,5 +253,5 @@ Now, you can use it simply:

key | Description | Sample
----------------|---------------------------------------------------------|----------------
`-unpack` | To generate minified version from executable. `v1.5.1+` | `gnt -unpack`
`-msbuild` path | To use specific msbuild if needed. `v1.5.1+` | `gnt -msbuild "D:\MSBuild\bin\amd64\msbuild" /p:ngpackages="Conari"`
`-unpack` | To generate minified version from executable. `v1.6+` | `gnt -unpack`
`-msbuild` path | To use specific msbuild if needed. `v1.6+` | `gnt -msbuild "D:\MSBuild\bin\amd64\msbuild" /p:ngpackages="Conari"`
34 changes: 33 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,63 @@
GetNuTool
____________________
- - - - -

[v1.6]

* NEW: Executable version. Implemented `-unpack` command.
To generate minified version from executable.
```
gnt -unpack
```

* NEW: Executable version. Implemented `-msbuild` command.
To use specific msbuild for executable version.
```
gnt -msbuild "D:\MSBuild\bin\amd64\msbuild" /p:ngpackages="Conari"
```

* NEW: Added ';' splitter for .config files.
The `|` now is marked as obsolete and can be removed in new versions.

* NEW: MSBuild-helper with `-notamd64` option.
Related issue: https://github.com/3F/vsSolutionBuildEvent/issues/38

* FIXED: Part of unhandled exceptions has been changed on messages to stderr:
`The "PrepareList" task failed unexpectedly / FileNotFoundException`
The "NGPack" task - DirectoryNotFoundException & The "NGDownload" task - WebException 404

* CHANGED: Value of `ngconfig` property now is `packages.config` by default.

[v1.5]

* FIXED: error MSB4018 `Value cannot be null`, if the `/p:wpath` key is not defined.

[v1.4]

* NEW: Added `/p:wpath` key to define working directory.
* NEW: Support of executable package.
* NEW: MSBuild searcher.

[v1.3]

* NEW: Added `/p:debug` to display additional information from selected command.
* CHANGED: Compact output for processed files.
* CHANGED: CA2202 -> sout

[v1.2]

* NEW: Packing packages into .nupkg by using .nuspec
* CHANGED: The `get` & `pack` commands for calling of main features.
* CHANGED: Attributes of packages.config is now are case sensitive. Use lowercase for `id`, `version`, `output`
* CHANGED: For `get` command: ignoring technical data from package like: /_rels, /package, etc.

[v1.1]

* FIXED: Incorrect path to Microsoft.Build.Tasks.dll with new MSBuild 14.0
* NEW: Compact version - `gnt-compact.core`
* CHANGED: Ignoring downloading if this folder is already exists. Remove folder to avoid restriction.

[v1.0]

* The first point - lightweight non-binary tool for getting the NuGet packages via MSBuild Tool


2 changes: 1 addition & 1 deletion gnt.core
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
<Target Name="Build" DependsOnTargets="get" />

<PropertyGroup>
<GetNuTool>1.5</GetNuTool>
<GetNuTool>1.6</GetNuTool>
<wpath Condition="'$(wpath)' == ''">$(MSBuildProjectDirectory)</wpath>
</PropertyGroup>
<Target Name="header">
Expand Down

0 comments on commit e3bc988

Please sign in to comment.