mirror of
https://github.com/coollabsio/coolify.git
synced 2026-08-24 02:24:11 -05:00
20 lines
547 B
PHP
20 lines
547 B
PHP
<?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)');
|
|
});
|