Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
Add AvalonEdit, NRefactory, and Cecil submodules.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrunwald committed Dec 25, 2015
1 parent a5776d4 commit 2a6eff2
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "src/Libraries/AvalonEdit"]
path = src/Libraries/AvalonEdit
url = https://github.com/icsharpcode/AvalonEdit.git
[submodule "src/Libraries/NRefactory"]
path = src/Libraries/NRefactory
url = https://github.com/icsharpcode/NRefactory.git
[submodule "src/Libraries/cecil"]
path = src/Libraries/cecil
url = https://github.com/jbevain/cecil.git
3 changes: 3 additions & 0 deletions clean.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@set PROGFILES=%PROGRAMFILES%
@if exist "%PROGRAMFILES(x86)%" set PROGFILES=%PROGRAMFILES(x86)%
@if not exist "src\Libraries\AvalonEdit\ICSharpCode.AvalonEdit.sln" (
git submodule update --init || exit /b 1
)
"%PROGFILES%\MSBuild\12.0\Bin\msbuild" /m SharpDevelop.sln /t:clean "/p:Platform=Any CPU" /p:Configuration=Debug
@IF %ERRORLEVEL% NEQ 0 PAUSE
"%PROGFILES%\MSBuild\12.0\Bin\msbuild" /m SharpDevelop.sln /t:clean "/p:Platform=Any CPU" /p:Configuration=Release
Expand Down
3 changes: 3 additions & 0 deletions debugbuild.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@set PROGFILES=%PROGRAMFILES%
@if exist "%PROGRAMFILES(x86)%" set PROGFILES=%PROGRAMFILES(x86)%
@if not exist "src\Libraries\AvalonEdit\ICSharpCode.AvalonEdit.sln" (
git submodule update --init || exit /b 1
)
"%PROGFILES%\MSBuild\12.0\Bin\msbuild" /m SharpDevelop.sln /p:Configuration=Debug "/p:Platform=Any CPU" %*
@IF %ERRORLEVEL% NEQ 0 GOTO err
@exit /B 0
Expand Down
3 changes: 3 additions & 0 deletions releasebuild.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@set PROGFILES=%PROGRAMFILES%
@if exist "%PROGRAMFILES(x86)%" set PROGFILES=%PROGRAMFILES(x86)%
@if not exist "src\Libraries\AvalonEdit\ICSharpCode.AvalonEdit.sln" (
git submodule update --init || exit /b 1
)
"%PROGFILES%\MSBuild\12.0\Bin\msbuild" /m SharpDevelop.sln /p:Configuration=Release "/p:Platform=Any CPU" %*
@IF %ERRORLEVEL% NEQ 0 GOTO err
@exit /B 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public Task RenameAsync(SymbolRenameArgs args, Action<PatchedFile> callback, Act
var cancellationToken = args.ProgressMonitor.CancellationToken;
return Task.Run(
() => {
bool isNameValid = Mono.CSharp.Tokenizer.IsValidIdentifier(args.NewName);
bool isNameValid = ICSharpCode.NRefactory.MonoCSharp.Tokenizer.IsValidIdentifier(args.NewName);
object progressLock = new object();
Parallel.ForEach(
searchScopesPerFile.Keys,
Expand Down
1 change: 1 addition & 0 deletions src/Libraries/AvalonEdit
Submodule AvalonEdit added at 4e69c3
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
using ICSharpCode.NRefactory.Utils;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.CSharp;

namespace ICSharpCode.Decompiler.ILAst
{
Expand Down
1 change: 0 additions & 1 deletion src/Libraries/ICSharpCode.Decompiler/ILAst/ILAstTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
using ICSharpCode.NRefactory.Utils;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.CSharp;
using Cecil = Mono.Cecil;

namespace ICSharpCode.Decompiler.ILAst
Expand Down
1 change: 1 addition & 0 deletions src/Libraries/NRefactory
Submodule NRefactory added at a2b55d
1 change: 1 addition & 0 deletions src/Libraries/cecil
Submodule cecil added at 53df0b

0 comments on commit 2a6eff2

Please sign in to comment.