Commit b255981
authored
[build] Remove extraneous
Ever since commit dec2e39, *every* **make**(1) target would result in
running `nuget restore`, e.g.:
$ make run-tests TESTS=bin/TestDebug/Java.Interop.Tools.JavaSource-Tests.dll
nuget restore
...
The `nuget restore` was both time consuming and irrelevant, and meant
that `make` targets which *should* have been fast -- like `make all`,
which shouldn't do anything after the initial `make prepare all`,
would instead take multiple seconds to complete.
Why was `nuget restore` always being invoked?
$ make -d -n run-tests
...
Must remake target `packages/NUnit.3.11.0/NUnit.3.11.0.nupkg'.
nuget restore
What happened is that commit dec2e39 changed various projects to be
Short-Form SDK projects, which in turn alters the `packages` directory
structure: instead of e.g.
packages/NUnit.3.11.0/NUnit.3.11.0.nupkg
the file is instead:
packages/nunit/3.11.0/nunit.3.11.0.nupkg
Note case and directory structure change, which in turn meant that the
rule dependencies were *never* satisfied (unless you happened to have
a `packages` directory from a pre-dec2e390 build…).
We *could* fix up the `$(PACKAGES)` and `$(NUNIT_CONSOLE)` variables
to use the new paths, but they're not actually *used* for anything
anymore, so just remove them.nuget restores (#599)1 parent 2a59c40 commit b255981
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
| |||
39 | 35 | | |
40 | 36 | | |
41 | 37 | | |
42 | | - | |
43 | | - | |
44 | 38 | | |
45 | 39 | | |
46 | 40 | | |
| |||
68 | 62 | | |
69 | 63 | | |
70 | 64 | | |
71 | | - | |
| 65 | + | |
72 | 66 | | |
73 | 67 | | |
| 68 | + | |
74 | 69 | | |
75 | 70 | | |
76 | 71 | | |
| |||
80 | 75 | | |
81 | 76 | | |
82 | 77 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 78 | | |
87 | 79 | | |
88 | 80 | | |
| |||
0 commit comments