-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New top level solution, makefile targets, and submodule dependencies.
You can `make prepare all check` to compile and run unit tests. Additionally, you can open `apidoctools.sln` in Visual Studio to develop and debug. _Please Note:_ You will have to `make prepare all CONFIGURATION=Debug` for VS to work, as this compiles external dependencies, and copies them to the `bin/Debug` folder, where VS will be expecting them.
- Loading branch information
1 parent
42950d5
commit ad2c3d9
Showing
31 changed files
with
3,545 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,10 @@ | |
/Test/DocTest.* | ||
/.v2.txt | ||
/.v0.txt | ||
packages | ||
NUnit.* | ||
TestResult.xml | ||
*.userprefs | ||
*.user | ||
bin | ||
obj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[submodule "external/SharpZipLib"] | ||
path = external/SharpZipLib | ||
url = https://github.com/icsharpcode/SharpZipLib.git | ||
[submodule "external/Lucene.Net.Light"] | ||
path = external/Lucene.Net.Light | ||
url = https://github.com/mono/Lucene.Net.Light.git | ||
[submodule "external/Mono.Cecil"] | ||
path = external/Mono.Cecil | ||
url = https://github.com/mono/cecil.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
MSBUILD = xbuild | ||
CONFIGURATION = Release | ||
BIN = bin/$(CONFIGURATION) | ||
MDOC = $(BIN)/mdoc.exe | ||
|
||
all: build | ||
|
||
build: $(MDOC) | ||
|
||
$(MDOC): $(BIN)/ICSharpCode.SharpZipLib.dll $(BIN)/Mono.Cecil.dll | ||
$(MSBUILD) apidoctools.sln /p:Configuration=$(CONFIGURATION) | ||
|
||
prepare: | ||
-mkdir -p bin/$(CONFIGURATION) | ||
git submodule update --init --recursive | ||
nuget install NUnit.Console -version 3.6.0 -NoCache -o packages | ||
|
||
$(BIN)/ICSharpCode.SharpZipLib.dll: | ||
$(MSBUILD) external/SharpZipLib/ICSharpCode.SharpZipLib.NET45/ICSharpCode.SharpZipLib.csproj /p:Configuration=Release | ||
cp external/SharpZipLib/bin/Release/ICSharpCode.SharpZipLib.* $(BIN)/ | ||
|
||
$(BIN)/Mono.Cecil.dll: | ||
$(MSBUILD) external/Mono.Cecil/Mono.Cecil.sln /p:Configuration=net_4_5_Release | ||
cp external/Mono.Cecil/bin/net_4_0_Release/Mono.Cecil*.dll $(BIN)/ | ||
|
||
clean: | ||
$(MSBUILD) apidoctools.sln /t:clean | ||
$(MSBUILD) external/SharpZipLib/ICSharpCode.SharpZipLib.NET45/ICSharpCode.SharpZipLib.csproj /t:clean | ||
$(MSBUILD) external/Mono.Cecil/Mono.Cecil.sln /t:clean | ||
rm -rf bin/$(CONFIGURATION) | ||
|
||
check: build check-monodoc check-mdoc | ||
|
||
check-mdoc: | ||
cd mdoc; $(MAKE) check | ||
|
||
check-monodoc: | ||
cd monodoc; $(MAKE) check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 11.00 | ||
# Visual Studio 2010 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mdoc", "mdoc\mdoc.csproj", "{7DA7CD97-614F-4BCD-A2FA-B379590CEA48}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "monodoc", "monodoc\monodoc.csproj", "{6E644802-B579-4037-9809-9CF4C7172C9D}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Monodoc.Test", "monodoc\Test\Monodoc.Test.csproj", "{1EE70E2C-A289-4C36-AD0A-3D0C6CE56615}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|x86 = Debug|x86 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{7DA7CD97-614F-4BCD-A2FA-B379590CEA48}.Debug|x86.ActiveCfg = Debug|x86 | ||
{7DA7CD97-614F-4BCD-A2FA-B379590CEA48}.Debug|x86.Build.0 = Debug|x86 | ||
{7DA7CD97-614F-4BCD-A2FA-B379590CEA48}.Release|x86.ActiveCfg = Release|x86 | ||
{7DA7CD97-614F-4BCD-A2FA-B379590CEA48}.Release|x86.Build.0 = Release|x86 | ||
{6E644802-B579-4037-9809-9CF4C7172C9D}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{6E644802-B579-4037-9809-9CF4C7172C9D}.Debug|x86.Build.0 = Debug|Any CPU | ||
{6E644802-B579-4037-9809-9CF4C7172C9D}.Release|x86.ActiveCfg = Release|Any CPU | ||
{6E644802-B579-4037-9809-9CF4C7172C9D}.Release|x86.Build.0 = Release|Any CPU | ||
{1EE70E2C-A289-4C36-AD0A-3D0C6CE56615}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{1EE70E2C-A289-4C36-AD0A-3D0C6CE56615}.Debug|x86.Build.0 = Debug|Any CPU | ||
{1EE70E2C-A289-4C36-AD0A-3D0C6CE56615}.Release|x86.ActiveCfg = Release|Any CPU | ||
{1EE70E2C-A289-4C36-AD0A-3D0C6CE56615}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(MonoDevelopProperties) = preSolution | ||
StartupItem = mdoc.csproj | ||
EndGlobalSection | ||
EndGlobal |
Submodule Lucene.Net.Light
added at
85978b
Submodule Mono.Cecil
added at
272fea
Submodule SharpZipLib
added at
9ad7f5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/Test/en.*/ | ||
/Test/html.*/ | ||
/Test/DocTest.* | ||
/Test/*.dll* | ||
/.v2.txt | ||
/.v0.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System; | ||
namespace Mono.Documentation | ||
{ | ||
public static class Consts | ||
{ | ||
// this is only a placeholder | ||
public static string MonoVersion = "0.0.0.0"; | ||
} | ||
} |
Oops, something went wrong.