mirror of
https://github.com/bitinflow/bunny-cli.git
synced 2026-03-13 13:45:54 +00:00
Improve lock file
This commit is contained in:
@@ -19,9 +19,9 @@ class DeployCommand extends Command
|
||||
*/
|
||||
protected $signature = 'deploy
|
||||
{--dir=dist : Root directory to upload}
|
||||
{--no-sha256-cache : Skips .well-known/bunny.sha256 and queries the storage endpoints recursively instead}
|
||||
{--no-sha256-generation : Skips .well-known/bunny.sha256 generation}
|
||||
{--sha256-name=.well-known/bunny.sha256 : Change filename of .well-known/bunny.sha256}
|
||||
{--no-sha256-verification : Skips checksum verification from bunny-cli.lock and polls the storage api recursively instead}
|
||||
{--no-sha256-generation : Skips checksum generation for bunny-cli.lock}
|
||||
{--lock-file=.well-known/bunny-cli.lock : Changes the location and filename of .well-known/bunny-cli.lock}
|
||||
{--dry-run : Outputs the operations but will not execute anything}';
|
||||
|
||||
/**
|
||||
@@ -62,9 +62,9 @@ class DeployCommand extends Command
|
||||
try {
|
||||
$fileCompare->compare($localPath, $edgePath, [
|
||||
CompareOptions::START => $start,
|
||||
CompareOptions::NO_SHA256_CACHE => $this->option('no-sha256-cache'),
|
||||
CompareOptions::NO_SHA256_VERIFICATION => $this->option('no-sha256-verification'),
|
||||
CompareOptions::NO_SHA256_GENERATION => $this->option('no-sha256-generation'),
|
||||
CompareOptions::SHA256_NAME => $this->option('sha256-name'),
|
||||
CompareOptions::LOCK_FILE => $this->option('lock-file'),
|
||||
CompareOptions::DRY_RUN => $this->option('dry-run'),
|
||||
]);
|
||||
} catch (FilesystemException $exception) {
|
||||
|
||||
Reference in New Issue
Block a user