Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

547 B
Raw Blame
<?php

it('provides a local helper build and deployment workflow', function () {
    $script = dirname(__DIR__, 2).'/scripts/dev-helper';

    expect($script)->toBeFile()
        ->and(is_executable($script))->toBeTrue();

    exec('bash -n '.escapeshellarg($script), $output, $exitCode);

    expect($exitCode)->toBe(0)
        ->and(file_get_contents($script))
        ->toContain('build)')
        ->toContain('use)')
        ->toContain('verify)')
        ->toContain('deploy)')
        ->toContain('reset)')
        ->toContain('test)');
});