Exemple #1
0
function build_everything()
{
    build_syslogd();
    build_clog();
    build_hostapd();
    build_packages();
    build_ports();
    build_tools();
    build_kernels();
    build_bootloader();
}
Exemple #2
0
        if ($tagAlreadyExists && important_step("The Tag '{$tag}' already exists: Delete the existing tag in order to create a new one")) {
            `svn rm {$ft} -m "[REL] Deleting tag '{$tag}' in order to create a new one"`;
            $tagAlreadyExists = false;
            info(">> Tag '{$tag}' deleted.");
        }
        if (!$tagAlreadyExists) {
            update_working_copy('.');
            $revision = (int) get_info(ROOT)->entry->commit['revision'];
            if (important_step("Tag release using branch '{$branch}' at revision {$revision}")) {
                `svn copy {$fb} -r{$revision} {$ft} -m "[REL] Tagging release"`;
                info(">> Tag '{$tag}' created.");
            }
        }
    }
    if (!$options['no-packaging'] && important_step("Build packages files (based on the '{$tag}' tag)")) {
        build_packages($packageVersion, $tag);
        echo color("\nUpload the files on SourceForge.\nInstructions can be found here: http://sourceforge.net/p/forge/documentation/Files/\n", 'cyan');
        echo color("\nAlternately, do it by hand after replacing SF_LOGIN with your sf.net login\nand after replacing PATH according to https://sourceforge.net/projects/tikiwiki/files/\ncd ~/tikipack/{$packageVersion}; scp tiki-{$packageVersion}.* SF_LOGIN@frs.sourceforge.net:/home/frs/project/t/ti/tikiwiki/Tiki_PATH/{$packageVersion} \n\n", 'cyan');
    } else {
        echo color("This was the last step.\n", 'cyan');
    }
}
// Helper functions
/**
 * @param $file
 * @param $root
 * @param $version
 */
function write_secdb($file, $root, $version)
{
    $file_exists = @file_exists($file);