Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/Makefile.am b/main/Makefile.am
index b6611c20dc..0e45d943ba 100644
--- a/main/Makefile.am
+++ b/main/Makefile.am
@@ -24,11 +24,13 @@ clean-local: sln_clean
NUGET_FOUND = $$(echo $$(which nuget))
NUGET_RESTORE = \
if [ "x$(NUGET_FOUND)" = "x" ]; then \
- echo "nuget not found; please install it first"; \
- exit 1; \
- fi; \
- nuget restore
+ mono external/nuget-binary/nuget.exe restore; \
+ else \
+ nuget restore; \
+ fi;
+#FIXME: move the restore logic into MSBuild (Before.sln.targets),
+# see: https://github.com/kzu/NuGet.Restore
restore-packages:
@$(NUGET_RESTORE)