Skip to content

Commit

Permalink
Public release. GetNuTool 1.8
Browse files Browse the repository at this point in the history
* CHANGED: Changed `%~dp0` to `%cd%` processing for the following in batch version by default:

           `wpath` property
           `-unpack` key

           For some cases you need to update the use of the batch version in your code.
           Do not hesitate to contact if you have the questions:
           https://github.com/3F/GetNuTool

* CHANGED: Trims whitespaces in optional proxycfg property.

           Helps to avoid MSB1006 problem for 3rd tools which was based on gnt batch version.
           That is,

           ~ /p:proxycfg=" !proxy! " will be safely considered as optional value
           While /p:proxycfg="" will indicate about incorrect or missing data.

* FIXED: Fixed post actions when executing gnt core in batch version.

* FIXED: "The remote server returned an error: (407) Proxy Authentication Required."

          Related issue: 3F/DllExport#133

* NOTE: Official releases via GitHub Releases:
        https://github.com/3F/GetNuTool/releases/latest

* NOTE: About possible commands and keys: https://github.com/3F/GetNuTool#commands
  • Loading branch information
3F committed Jan 16, 2020
1 parent ca720ee commit df76082
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0
1.8.0
33 changes: 13 additions & 20 deletions .vssbe
Original file line number Diff line number Diff line change
Expand Up @@ -134,34 +134,27 @@
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
"Type": "Script",
"Command__": [
"#[IO copy.file(\"$(dobj)core\", \"$(odir)core/gnt.core\", true)]",
"#[IO copy.file(\"$(dobj)gnt.min.core\", \"$(odir)core-minified/gnt.core\", true)]",
"#[IO copy.file(\"$(dobj)gnt.bat\", \"$(odir)versions/01. executable/gnt.bat\", true)]",
"#[IO copy.file(\"$(dobj)gnt.bat.map\", \"$(odir)versions/01. executable/gnt.bat.map\", true)]",
"#[IO copy.file(\"$(dobj)gnt.min.core\", \"$(odir)core/gnt.core\", true)]",
"",
"#[IO copy.file({",
" \"$(odir)core-minified/gnt.core\", ",
" \"caller/gnt.bat\"",
" }, ",
" \"$(odir)versions/02. wrapper/\", true)]",
"##[IO copy.file(\"$(dobj)core\", \"$(odir)core/gnt.core\", true)]",
"##[IO copy.file(\"$(dobj)gnt.min.core\", \"$(odir)core-minified/gnt.core\", true)]",
"",
"#[IO copy.file(\"README.md\", \"$(odir)doc/Readme.md\", true)]",
"#[IO copy.file(\"$(dobj)gnt.bat\", \"$(odir)executables/batch/gnt.bat\", true)]",
"#[IO copy.file(\"$(dobj)gnt.bat.map\", \"$(odir)maps/gnt.bat.map\", true)]",
"",
"#[IO write(\"$(odir)msbuild.bat\"):@echo off",
"#[IO copy.file({\"caller/gnt.bat\"}, \"$(odir)wrappers/batch/\", true)]",
"",
"#[IO copy.file(\"README.md\", \"$(odir)Readme.md\", true)]",
"",
"##[IO write(\"$(odir)msbuild.bat\"):@echo off",
"echo.",
"echo The MSBuild-helper from GetNuTool is obsolete and was replaced by hMSBuild project.",
"echo MSBuild-helper from GetNuTool is obsolete and was replaced by hMSBuild project.",
"echo Please look here: https://github.com/3F/hMSBuild",
"echo.",
"pause",
"]",
"",
"#[IO copy.file(\"changelog.txt\", \"$(odir)doc/\", true)]",
"",
"##[IO copy.file({",
" \"msbuild.bat\",",
" \"LICENSE\"",
" },",
" \"$(odir)\", true)]",
"#[IO copy.file({ \"changelog.txt\", \".version\", \".gitattributes\" }, \"$(odir)\", true)]",
"",
"#[IO copy.file(\"LICENSE\", \"$(odir)License.txt\", true)]"
]
Expand All @@ -182,7 +175,7 @@
"Command__": [
"#[7z pack.directory(\"$(dbin)raw\", \"$(dbin)GetNuTool.$(pVerPrintFile).zip\")]",
"",
"#[IO copy.file(\"$(odir)versions/01. executable/gnt.bat\", \"$(dbin)gnt.bat\", true)]"
"#[IO copy.file(\"$(odir)executables/batch/gnt.bat\", \"$(dbin)gnt.bat\", true)]"
]
}
}
Expand Down
7 changes: 5 additions & 2 deletions caller/gnt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
:: Copyright (c) 2015-2018,2020 Denis Kuzmin [ x-3F@outlook.com ]
:: https://github.com/3F/GetNuTool

set gntcore=gnt.core
set gntcore=.\gnt.core
if not exist %gntcore% goto error

for %%v in (4.0, 14.0, 12.0, 3.5, 2.0) do (
for /F "usebackq tokens=2* skip=2" %%a in (
Expand All @@ -14,7 +15,9 @@ for %%v in (4.0, 14.0, 12.0, 3.5, 2.0) do (
)
)

echo MSBuild was not found. Try manually: msbuild %gntcore% {arguments}` 1>&2
:error
echo MSBuild or %gntcore% was not found. Try manually: msbuild %gntcore% {arguments}` 1>&2

exit /B 2

:found
Expand Down
33 changes: 32 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@
GetNuTool :: https://github.com/3F/GetNuTool
GetNuTool - https://github.com/3F/GetNuTool
- - - - -

[v1.8] 2020.01.16

* CHANGED: Changed `%~dp0` to `%cd%` processing for the following in batch version by default:

`wpath` property
`-unpack` key

For some cases you need to update the use of the batch version in your code.
Do not hesitate to contact if you have the questions:
https://github.com/3F/GetNuTool

* CHANGED: Trims whitespaces in optional proxycfg property.

Helps to avoid MSB1006 problem for 3rd tools which was based on gnt batch version.
That is,

~ /p:proxycfg=" !proxy! " will be safely considered as optional value
While /p:proxycfg="" will indicate about incorrect or missing data.

* FIXED: Fixed post actions when executing gnt core in batch version.

* FIXED: "The remote server returned an error: (407) Proxy Authentication Required."

Related issue: https://github.com/3F/DllExport/issues/133

* NOTE: Official releases via GitHub Releases:
https://github.com/3F/GetNuTool/releases/latest

* NOTE: About possible commands and keys: https://github.com/3F/GetNuTool#commands


[v1.7] 2018.12.22

* NEW: New logic to specify multiple packages and config files via delimiters.
Expand Down

0 comments on commit df76082

Please sign in to comment.