Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

re-integrated the Moofile source and specs

  • Loading branch information...
commit 87b04bc19538b50af70e18a9c2f71b621428dea5 1 parent 85a6545
@remi authored
View
2  ...pec/Moofile/BuildingSimpleProjectsSpec.cs → ...pes/moofile/BuildingSimpleProjectsSpec.cs
@@ -5,7 +5,7 @@
using MooGet;
using NUnit.Framework;
-namespace MooGet.Specs {
+namespace MooGet.Specs.Core {
[TestFixture]
public class BuildingSimpleProjectsSpec : MooGetSpec {
View
2  old/spec/Moofile/MoofileDependencySpec.cs → ...iletypes/moofile/MoofileDependencySpec.cs
@@ -4,7 +4,7 @@
using MooGet;
using NUnit.Framework;
-namespace MooGet.Specs {
+namespace MooGet.Specs.Core {
[TestFixture]
public class MoofileDependencySpec : MooGetSpec {
View
2  old/spec/Moofile/MoofileParsingSpec.cs → ...e/filetypes/moofile/MoofileParsingSpec.cs
@@ -4,7 +4,7 @@
using MooGet;
using NUnit.Framework;
-namespace MooGet.Specs {
+namespace MooGet.Specs.Core {
[TestFixture]
public class MoofileParsingSpec : MooGetSpec {
View
1  old/src/Commands/BuildCommand.cs → src/cli/commands/BuildCommand.cs
@@ -3,6 +3,7 @@
namespace MooGet.Commands {
+ /// <summary>moo build</summary>
public class BuildCommand {
[Command(Name = "build", Description = "Compiles the current project (using Moofile)")]
View
0  old/src/Moofile/Dependency.cs → src/core/filetypes/moofile/Dependency.cs
File renamed without changes
View
0  old/src/Moofile/Group.cs → src/core/filetypes/moofile/Group.cs
File renamed without changes
View
6 old/src/Moofile/Moofile.cs → src/core/filetypes/moofile/Moofile.cs
@@ -100,7 +100,7 @@ public partial class Moofile {
var localPackageReferences = new List<IPackage>();
foreach (var nupkg in nupkgReferences) {
- var package = Moo.Dir.Install(nupkg) as LocalPackage;
+ var package = Moo.Dir.Push(nupkg) as IPackage;
response.Line("Installed {0}", package);
localPackageReferences.Add(package);
}
@@ -110,7 +110,7 @@ public partial class Moofile {
// add -r references for LocalPackage libraries
foreach (var package in localPackageReferences)
- foreach (var dll in package.Libraries)
+ foreach (var dll in (package as MooDirPackage).Libraries)
command += " -r:" + System.IO.Path.GetFullPath(dll);
response.Line(command);
@@ -123,7 +123,7 @@ public partial class Moofile {
File.Copy(dll, copyTo);
});
foreach (var package in localPackageReferences)
- foreach (var dll in package.Libraries) {
+ foreach (var dll in (package as MooDirPackage).Libraries) {
var dllPath = System.IO.Path.GetFullPath(dll);
var copyTo = System.IO.Path.Combine(outputDir, System.IO.Path.GetFileName(dllPath));
response.Line("cp {0} {1}", dllPath, copyTo);
Please sign in to comment.
Something went wrong with that request. Please try again.