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

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martinez <joelmartinez@gmail.com>2017-08-31 21:06:34 +0300
committerJoel Martinez <joelmartinez@gmail.com>2017-09-02 00:13:07 +0300
commit247f91b4c60312595e9e97c4ba9e3161eb98831e (patch)
tree8092871fd7977c93a3fa9a2bd200db5622dd9299 /mdoc/Makefile
parent77a320ed67833af983d07b49c83255658e6e3438 (diff)
mdoc: update now using ILAsm signature for tracking.
Due to some recent changes to the C# signature (operators), it was not properly connecting the member to the existing node, causing a duplicate entry in the XML. By using ILASM (which is less likely to change), we work around this problem. Closes #107.
Diffstat (limited to 'mdoc/Makefile')
-rw-r--r--mdoc/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/mdoc/Makefile b/mdoc/Makefile
index 50dde948..0ac26278 100644
--- a/mdoc/Makefile
+++ b/mdoc/Makefile
@@ -379,6 +379,17 @@ check-monodocer-import-fx: Test/DocTest.dll-v1 Test/DocTest-DropNS-classic-secon
$(MONO) $(PROGRAM) update -o Test/en.actual -frameworks Test/fx-import
$(DIFF) Test/en.expected-fx-import Test/en.actual
+Test/TestClass.dll:
+ $(CSCOMPILE) $(TEST_CSCFLAGS) -unsafe -debug -optimize -target:library -out:$@ mdoc.Test/SampleClasses/Test*.cs
+
+.PHONY: check-monodocer-operators
+check-monodocer-operators: Test/TestClass.dll
+ rm -Rf Test/en.actual
+ $(MONO) $(PROGRAM) update Test/TestClass.dll -o Test/en.actual
+ cp mdoc.Test/SampleClasses/TestClass-OldOpSig.xml Test/en.actual/mdoc.Test.SampleClasses/TestClass.xml
+ $(MONO) $(PROGRAM) update Test/TestClass.dll -o Test/en.actual
+ $(DIFF) Test/en.expected-operators Test/en.actual
+
check-mdoc-export-html-update:
find Test/html.expected -name \*.html -exec rm "{}" \;
$(MONO) $(PROGRAM) export-html -o Test/html.expected \
@@ -471,7 +482,8 @@ check-doc-tools: check-monodocer-since \
check-monodocer-dropns-multi-withexisting \
check-monodocer-frameworks \
check-monodocer-frameworks-inheritance \
- check-monodocer-docid
+ check-monodocer-docid \
+ check-monodocer-operators
check-doc-tools-update: check-monodocer-since-update \
check-monodocer-importecmadoc-update \