Repository: logging-log4net
Updated Branches:
  refs/heads/feature/netstandard-2.0 605c5fcb1 -> 4c5edb375


Added invocation to dotnet restore before building netstandard


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/4c5edb37
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/4c5edb37
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/4c5edb37

Branch: refs/heads/feature/netstandard-2.0
Commit: 4c5edb375ecb216adb8bf143eeb8b2b11e5b1660
Parents: 605c5fc
Author: Dominik Psenner <dpsen...@apache.org>
Authored: Sun Aug 20 21:38:55 2017 +0200
Committer: Dominik Psenner <dpsen...@apache.org>
Committed: Sun Aug 20 21:38:55 2017 +0200

----------------------------------------------------------------------
 log4net.build | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/4c5edb37/log4net.build
----------------------------------------------------------------------
diff --git a/log4net.build b/log4net.build
index eeeddb5..3c3ae0c 100644
--- a/log4net.build
+++ b/log4net.build
@@ -1766,6 +1766,10 @@ limitations under the License.
       <echo message="Skipping build; required framework is not available: 
netstandard"/>
     </if>
     <if test="${dotnet.available == '0'}">
+      <echo message="dotnet restore"/>
+      <exec program="dotnet" workingdir="${log4net.basedir}/src">
+        <arg value="restore"/>
+      </exec>
       <if test="${current.build.config.release != '-c'}">
         <echo message="dotnet build log4net.csproj"/>
       </if>
@@ -1809,6 +1813,10 @@ limitations under the License.
       <echo message="Skipping build; required framework is not available: 
netstandard"/>
     </if>
     <if test="${dotnet.available == '0'}">
+      <echo message="dotnet restore"/>
+      <exec program="dotnet" workingdir="${log4net.basedir}/src">
+        <arg value="restore"/>
+      </exec>
       <if test="${current.build.config.release != '-c'}">
         <echo message="dotnet build log4net.csproj"/>
       </if>

Reply via email to