public void SetUp()
        {
            thePipeline = new AssetFileGraph();
            var builder = new AssetFileGraphBuilder(new FileSystem(), thePipeline, new PackageLog());
            builder.LoadFiles(new PackageAssetDirectory{
                Directory = FileSystem.Combine("..", "..", "Jasmine", "TestPackage2"),
                PackageName = "Pak2"
            });

            theGraph = new SpecificationGraph(thePipeline);
        }
        public void SetUp()
        {
            system = new FileSystem();
            system.DeleteDirectory(AppDirectory);
            system.DeleteDirectory(PackageDirectory);

            writeFiles();


            _theFileGraph = new AssetFileGraph();
            theBuilder = new AssetFileGraphBuilder(new FileSystem(), _theFileGraph, new PackageLog());
            theBuilder.LoadFiles(new PackageAssetDirectory(){
                Directory = AppDirectory,
                PackageName = AssetFileGraph.Application
            });

            theBuilder.LoadFiles(new PackageAssetDirectory(){
                Directory = PackageDirectory,
                PackageName = "pak1"
            });
        }
 public void Activate(IEnumerable<IPackageInfo> packages, IPackageLog log)
 {
     var builder = new AssetFileGraphBuilder(new FileSystem(), _pipeline, log);
     findDirectories(packages).Each(builder.LoadFiles);
 }