Commit 1b4e45e
committed
Improvement/build (#2523)
* Several build related fixes
- Normalize module vs type usages in fsx files
- unit methods now all in Method() = form
- cleaned up build.bat and its skiptests leniency, now only accepted as
the first argument
- Improved usage notice in build.bat
- Building now checks if `dotnet.exe` resolves to using the proper SDK
- Moved to DotNetCli FAKE helper (#2395)
- Separated Projects and Tooling out of Paths.fsx
- Now have a truly quick compile target
`build quick [test_filter]` does an incremental build and runs the
unit tests from the bin output folder. it also skips paket.
- moved global.json to the root of repos
* Explict separation of unit/integration custom runners
- unit tests now parallizes over all tests ignoring all clusters
rather then piggy backing on xunit which we do in 5.x (our own routine
is 10+seconds faster) or on the integration routine (which we
currently do in master)
* moved testing over to DotNetCli helper too
* Build resiliency changes
build quick can optionally does a paket bootstrap/restore if paket is
not found, allowing you to do build quick on a clean checkout too.
The general build now cleans the bin folders after itself so that
running
build
build quick
Does not end up in the latter resolving 4.6 assemblies from the previous
build
Conflicts:
build.bat
build/scripts/Building.fsx
build/scripts/Paths.fsx
build/scripts/Targets.fsx
build/scripts/Testing.fsx
paket.lock
src/Benchmarking/Benchmarking.csproj
src/CodeGeneration/ApiGenerator/ApiGenerator.csproj
src/CodeGeneration/DocGenerator/DocGenerator.csproj
src/Nest/Nest.csproj
src/Profiling/Profiling.csproj
src/Tests/Framework/Xunit/TestAssemblyRunner.cs
src/Tests/Tests.csproj1 parent c4b6d28 commit 1b4e45e
File tree
24 files changed
+1271
-1666
lines changed- build/scripts
- docs/analysis/analyzers
- src
- Benchmarking
- CodeGeneration
- ApiGenerator
- DocGenerator
- Nest
- Profiling
- Tests
- Framework/Xunit
24 files changed
+1271
-1666
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
35 | 38 | | |
36 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
39 | 57 | | |
40 | | - | |
41 | | - | |
42 | 58 | | |
43 | | - | |
| 59 | + | |
44 | 60 | | |
45 | | - | |
46 | | - | |
47 | 61 | | |
48 | | - | |
49 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
50 | 69 | | |
51 | 70 | | |
52 | 71 | | |
53 | 72 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 73 | + | |
| 74 | + | |
57 | 75 | | |
58 | 76 | | |
59 | 77 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 78 | + | |
64 | 79 | | |
65 | 80 | | |
66 | | - | |
| 81 | + | |
67 | 82 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
| 7 | + | |
5 | 8 | | |
| 9 | + | |
6 | 10 | | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
11 | 16 | | |
12 | | - | |
| 17 | + | |
13 | 18 | | |
14 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
15 | 29 | | |
16 | | - | |
17 | 30 | | |
18 | 31 | | |
19 | 32 | | |
20 | 33 | | |
21 | | - | |
22 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
23 | 53 | | |
24 | 54 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
28 | 58 | | |
29 | | - | |
| 59 | + | |
30 | 60 | | |
31 | 61 | | |
32 | 62 | | |
33 | 63 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 64 | + | |
46 | 65 | | |
47 | 66 | | |
48 | 67 | | |
49 | 68 | | |
50 | 69 | | |
51 | 70 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments