示例#1
0
 function precompile()
 {
     $dir = $this->app['pipe.precompile_directory'];
     $manifest = new Manifest($this->app['pipe.environment'], $this->app['pipe.manifest'], $dir);
     $manifest->compress = true;
     $manifest->compile((array) $this->app['pipe.precompile']);
 }
示例#2
0
文件: ManifestTest.php 项目: chh/pipe
 /**
  * @expectedException \UnexpectedValueException
  */
 function testReadThrowsExceptionWhenNotFound()
 {
     $env = new Environment();
     $manifest = new Manifest($env, __DIR__ . "/foo.json");
     $manifest->read();
 }