Commit e0a42a5
authored
Ability to diff assemblies from files, directories, nuget and github (elastic#3027)
This commit adds a build target, diff, that can create a diff output of assemblies from
1. files
2. directories
3. nuget packages
4. github.amrom.workers.devmits
It uses Progress/Telerik's JustAssembly command line tool to generate an XML file of the public diffs between two assemblies, with functions implemented to transform XML to markdown and asciidoc. Since JustAssembly installation cannot be easily automated, an exception is thrown when diff is run if the tool is not installed, prompting the user with a link to download.
When specifying directories or nuget packages, the assemblies within the first path will be paired up with assemblies with the same name in the second path, and a diff will be generated for each pair.
The diff can output XML, Markdown and Asciidoc, with the latter two implemented as functions that convert the XML to a document structure.
Add skipdocs argument to be able to skip generating documentation.1 parent 757373e commit e0a42a5
File tree
6 files changed
+471
-6
lines changed- build/scripts
6 files changed
+471
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
105 | 125 | | |
106 | 126 | | |
107 | 127 | | |
| |||
161 | 181 | | |
162 | 182 | | |
163 | 183 | | |
164 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
165 | 206 | | |
166 | 207 | | |
167 | 208 | | |
| |||
0 commit comments