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

Commit

Permalink
Merge branch 'master' of github.com:icsharpcode/SharpDevelop
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Aug 28, 2010
2 parents 00498ca + c8177e6 commit 35a608a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .gitignore
@@ -1,18 +1,19 @@

# ignore all obj and bin folders (even in subdirectories)
obj/
bin/
/REVISION
/bin/
/build/
/AddIns/
/doc/ChangeLog.html
/data/resources/StringResources.*.resources
/src/AddIns/Analysis/Profiler/Controller/Data/UnmanagedCallTreeNode64.cs
/src/AddIns/Analysis/Profiler/Controller/Profiler64.cs
/src/AddIns/Analysis/Profiler/Controller/structs64.cs
/src/AddIns/Analysis/Profiler/Hook/Callback.x64.obj
/src/AddIns/Analysis/Profiler/bin/
obj/
/src/AddIns/Analysis/Profiler/Hook/x64
/src/AddIns/Analysis/Profiler/Hook/Win32
/src/Tools/UpdateAssemblyInfo/bin
/src/AddIns/Misc/Profiler/X64Converter/bin
/src/AddIns/Misc/Profiler/Hook/x64
/src/AddIns/Misc/Profiler/Hook/Win32
/src/Setup/SharpDevelop.Setup.wixproj.user
/src/Main/ICSharpCode.SharpDevelop.Sda/ICSharpCode.SharpDevelop.Sda.dll.config
/src/Main/StartUp/Project/SharpDevelop.exe.config
/src/Main/StartUp/Project/SharpDevelop.exe.config
/src/Main/GlobalAssemblyInfo.cs
2 changes: 1 addition & 1 deletion src/Automated.proj
Expand Up @@ -133,7 +133,7 @@

<Target Name="zipsource">
<CreateItem Include="$(ProjectDir)\**"
Exclude="$(ProjectDir)\**\.svn\**;$(ProjectDir)\**\obj\**">
Exclude="$(ProjectDir)\**\.svn\**;$(ProjectDir)\**\obj\**;$(ProjectDir)\.git\**;$(ProjectDir)\.git*;$(ProjectDir)\build\**">
<Output TaskParameter="Include" ItemName="FileToZip"/>
</CreateItem>
<Message Importance="high" Text="Creating ZIP file $(ArtefactPrefix)$(BuildNumber)_Source.zip"/>
Expand Down
3 changes: 3 additions & 0 deletions src/Tools/UpdateAssemblyInfo/Main.cs
Expand Up @@ -193,6 +193,9 @@ static void RetrieveRevisionNumber()
static void ReadRevisionNumberFromGit()
{
ProcessStartInfo info = new ProcessStartInfo("cmd", "/c git rev-list --first-parent " + BaseCommit + "..HEAD");
string path = Environment.GetEnvironmentVariable("PATH");
path += ";" + Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "git\\bin");
info.EnvironmentVariables["PATH"] = path;
info.RedirectStandardOutput = true;
info.UseShellExecute = false;
using (Process p = Process.Start(info)) {
Expand Down

0 comments on commit 35a608a

Please sign in to comment.