def run(project_dir):
    os.chdir(project_dir)

    add_project_dir(project_dir)
    add_checker_dir()

    configuration.add('build-dir', project_dir+'build/')
    configuration.load()

    composer.initialization()
    downloader.initialization()
Esempio n. 2
0
def run(project_dir):
    os.chdir(project_dir)

    add_project_dir(project_dir)
    add_checker_dir()

    configuration.add('build-dir', project_dir + 'build/')
    configuration.load()

    composer.initialization()
    downloader.initialization()
def update(php_bin):
    print('>>> PHP version is: '+php_bin)

    add_project_dir(helper.get_project_dir())
    add_checker_dir()

    configuration.add('php', php_bin)
    configuration.load_default()

    composer.initialization()
    composer.update()
    downloader.update()
Esempio n. 4
0
def update(php_bin):
    print('>>> PHP version is: ' + php_bin)

    add_project_dir(helper.get_project_dir())
    add_checker_dir()

    configuration.add('php', php_bin)
    configuration.load_default()

    composer.initialization()
    composer.update()
    downloader.update()