Permalink
Browse files

Update .gitignore to ignore unit test results.

Update license to clearly indicate Ms-Pl
Update amender to backup EXE files too.
  • Loading branch information...
1 parent 6459ee0 commit 16e863077cd33d5795ad6fc06053cc0305819b81 @jamiemthomas jamiemthomas committed Apr 12, 2011
Showing with 7 additions and 4 deletions.
  1. +2 −1 .gitignore
  2. +2 −2 Afterthought.Amender/Program.cs
  3. +1 −1 Afterthought.sln
  4. +2 −0 License.txt
View
@@ -6,4 +6,5 @@
*.testsettings
*.trx
bin/
-obj/
+obj/
+TestResults/
@@ -54,7 +54,7 @@ internal static void Amend(params string[] targets)
{
foreach (var file in Directory.GetFiles(directory.SourcePath))
{
- if (file.ToLower().EndsWith("dll") || file.ToLower().EndsWith("pdb"))
+ if (file.ToLower().EndsWith("exe") || file.ToLower().EndsWith("dll") || file.ToLower().EndsWith("pdb"))
File.Copy(file, Path.Combine(directory.BackupPath, Path.GetFileName(file)), true);
}
}
@@ -81,7 +81,7 @@ internal static void Amend(params string[] targets)
// Get the set of amendments to apply from all of the specified assemblies
var amendments = assemblies.SelectMany(a => AmendmentAttribute.GetAmendments(System.Reflection.Assembly.LoadFrom(a.DllBackupPath))).ToList();
- // Exit immediately if there are not amendments in the target assemblies
+ // Exit immediately if there are no amendments in the target assemblies
if (amendments.Count == 0)
return;
View
@@ -26,9 +26,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Afterthought.UnitTest", "Af
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{117576C5-77C6-4851-B271-5B0AAB147E7F}"
ProjectSection(SolutionItems) = preProject
+ .gitignore = .gitignore
License.txt = License.txt
Local.testsettings = Local.testsettings
- README.md = README.md
vc3os-sm.png = vc3os-sm.png
EndProjectSection
EndProject
View
@@ -1,3 +1,5 @@
+Microsoft Public License (Ms-PL)
+
This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
1. Definitions

0 comments on commit 16e8630

Please sign in to comment.