Repository: tinkerpop Updated Branches: refs/heads/TINKERPOP-1836 29e768dff -> 770d54b71
Don't download nuget.exe on every build again TINKERPOP-1836 Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/770d54b7 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/770d54b7 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/770d54b7 Branch: refs/heads/TINKERPOP-1836 Commit: 770d54b712681d881b962f1d3689045cb34de7a0 Parents: 29e768d Author: Florian Hockmann <[email protected]> Authored: Mon May 21 17:08:32 2018 +0200 Committer: Florian Hockmann <[email protected]> Committed: Mon May 21 17:08:32 2018 +0200 ---------------------------------------------------------------------- gremlin-dotnet/src/pom.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/770d54b7/gremlin-dotnet/src/pom.xml ---------------------------------------------------------------------- diff --git a/gremlin-dotnet/src/pom.xml b/gremlin-dotnet/src/pom.xml index b8991a0..b52b9a3 100644 --- a/gremlin-dotnet/src/pom.xml +++ b/gremlin-dotnet/src/pom.xml @@ -106,19 +106,19 @@ limitations under the License. <available file="mono" filepath="${env.PATH}"/> <then> <if> - <available file="Gremlin.Net/bin/nuget.exe"/> + <available file="nuget.exe"/> <then> - <echo>nuget.exe already downloaded and at Gremlin.Net/bin/nuget.exe.</echo> + <echo>nuget.exe already downloaded.</echo> </then> <else> - <exec dir="Gremlin.Net/bin" executable="wget" failonerror="true"> + <exec executable="wget" failonerror="true"> <arg line="https://dist.nuget.org/win-x86-commandline/v4.4.1/nuget.exe"/> </exec> </else> </if> - <exec dir="Gremlin.Net/bin" executable="mono" failonerror="true"> - <arg line="nuget.exe pack ../../Gremlin.Net.Template/Gremlin.Net.Template.nuspec"/> + <exec executable="mono" failonerror="true"> + <arg line="nuget.exe pack Gremlin.Net.Template/Gremlin.Net.Template.nuspec"/> </exec> </then> <else> @@ -178,13 +178,13 @@ limitations under the License. <tasks> <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> <if> - <available file="Gremlin.Net/bin/nuget.exe"/> + <available file="nuget.exe"/> <then> - <echo>nuget.exe already downloaded and at Gremlin.Net/bin/nuget.exe.</echo> + <echo>nuget.exe already downloaded.</echo> </then> <else> - <exec dir="Gremlin.Net/bin" executable="wget" failonerror="true"> + <exec executable="wget" failonerror="true"> <arg line="https://dist.nuget.org/win-x86-commandline/v4.4.1/nuget.exe"/> </exec> </else> @@ -194,8 +194,8 @@ limitations under the License. until https://github.com/NuGet/Home/issues/4095 we have to have to specify the "ConfigFile" option to nuget. --> - <exec dir="Gremlin.Net/bin" executable="mono" failonerror="true"> - <arg line="nuget.exe push Gremlin.Net.*.nupkg -Source https://www.nuget.org/api/v2/package -ConfigFile ${user.home}/.config/NuGet/NuGet.Config"/> + <exec executable="mono" failonerror="true"> + <arg line="nuget.exe push Gremlin.Net/bin/Gremlin.Net.*.nupkg -Source https://www.nuget.org/api/v2/package -ConfigFile ${user.home}/.config/NuGet/NuGet.Config"/> </exec> </tasks> </configuration>
