Beispiel #1
0
 function testPackageAll()
 {
     $tmp = $GLOBALS['STUDIP_BASE_PATH'];
     $GLOBALS['STUDIP_BASE_PATH'] = realpath(dirname(__FILE__) . '/../../../../../');
     \Studip\Squeeze\packageAll(TEST_FIXTURES_PATH . "squeeze/assets.yml");
     $GLOBALS['STUDIP_BASE_PATH'] = $tmp;
 }
Beispiel #2
0
#!/usr/bin/env php
<?php 
require_once 'studip_cli_env.inc.php';
require_once dirname(__FILE__) . '/../lib/classes/squeeze/squeeze.php';
\Studip\Squeeze\packageAll();