Beispiel #1
0
 /**
  * @return Assets_Scripts
  */
 public static function script()
 {
     if (null === self::$script) {
         self::$script = new Assets_Scripts();
         self::$script->setOutput(Nano::config('assets')->path);
     }
     return self::$script;
 }
Beispiel #2
0
 public function setUp()
 {
     $this->scripts = new Assets_Scripts();
     $this->scripts->setOutput($this->files->get($this, DS . 'output'));
     $this->files->clean($this, DS . 'output');
     touch($this->files->get($this, '/input/file1'));
     touch($this->files->get($this, '/input/file2'));
     touch($this->files->get($this, '/input/file3'));
     touch($this->files->get($this, '/input/file4'));
 }