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
path: root/mdoc
diff options
context:
space:
mode:
authorJoel Martinez <joelmartinez@gmail.com>2015-09-23 19:29:53 +0300
committerDuncan Mak <duncanm@microsoft.com>2016-10-08 03:31:03 +0300
commitad44ae86d1f08edc521d2def479e1070955cd907 (patch)
tree6bdbcc644e0ce3f5dc54f01bb361f483cfc9a8ed /mdoc
parent32b6178638572a3ef491b3c256b41ef9a4c8b7ea (diff)
[mdoc] Removed extraneous directory creation.
This was in response to a test failure noticed after this pull request was accepted: https://github.com/mono/mono/pull/2012#commitcomment-13325966 The solution was two-fold, the code removed was unecessary as this directory is created elsewhere right before the file is written (and with the correct name in the case of a unified type). Also a small change was made to the makefile to clean up some files which was causing some targets to be skipped, along with moving some targets to the `check-doc-tools` target.
Diffstat (limited to 'mdoc')
-rw-r--r--mdoc/Makefile17
-rw-r--r--mdoc/Mono.Documentation/monodocer.cs6
2 files changed, 9 insertions, 14 deletions
diff --git a/mdoc/Makefile b/mdoc/Makefile
index 4675d4a8..0991269d 100644
--- a/mdoc/Makefile
+++ b/mdoc/Makefile
@@ -169,6 +169,8 @@ check-monodocer-dropns-classic: $(PROGRAM)
check-monodocer-dropns-delete: $(PROGRAM)
-rm -Rf Test/en.actual
+ rm -Rf Test/DocTest-DropNS-classic-deletetest.dll
+ rm -Rf Test/DocTest-DropNS-unified-deletetest.dll
$(MAKE) Test/DocTest-DropNS-classic-deletetest.dll
$(MONO) $(PROGRAM) update --delete --exceptions=all -o Test/en.actual Test/DocTest-DropNS-classic-deletetest.dll
$(MAKE) Test/DocTest-DropNS-unified-deletetest.dll
@@ -363,22 +365,21 @@ check-doc-tools: check-monodocer-since \
check-mdoc-export-html \
check-mdoc-export-html-with-version \
check-mdoc-export-msxdoc \
- check-mdoc-validate
+ check-mdoc-validate \
+ check-monodocer-dropns-classic \
+ check-monodocer-dropns-classic-withsecondary \
+ check-monodocer-dropns-delete \
+ check-monodocer-internal-interface \
+ check-monodocer-enumerations
check-doc-tools-update: check-monodocer-since-update \
check-monodocer-importecmadoc-update \
check-monodocer-importslashdoc-update \
check-monodocer-update \
- check-monodocer-dropns-classic \
- check-monodocer-dropns-classic-withsecondary \
- check-monodocer-dropns-delete \
- check-monodocer-internal-interface \
- check-monodocer-enumerations \
check-monodocer-delete-update \
check-mdoc-export-html-update \
check-mdoc-export-msxdoc-update \
check-mdoc-validate-update
-check: check-doc-tools \
- check-doc-tools-update
+check: check-doc-tools
diff --git a/mdoc/Mono.Documentation/monodocer.cs b/mdoc/Mono.Documentation/monodocer.cs
index 9cf59a11..dd59da4c 100644
--- a/mdoc/Mono.Documentation/monodocer.cs
+++ b/mdoc/Mono.Documentation/monodocer.cs
@@ -678,12 +678,6 @@ class MDocUpdater : MDocCommand
XmlElement td = StubType(type, output);
if (td == null)
return null;
-
- System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo (DocUtils.PathCombine (dest, type.Namespace));
- if (!dir.Exists) {
- dir.Create();
- Console.WriteLine("Namespace Directory Created: " + type.Namespace);
- }
}
return reltypefile;
}