update generate client to remove copy translations
This commit is contained in:
parent
fb9de3325e
commit
eef979ec8e
1 changed files with 0 additions and 13 deletions
|
|
@ -43,7 +43,6 @@ class GenerateCrmClient extends Command
|
|||
{
|
||||
$this->copyEnums();
|
||||
$this->copyExceptions();
|
||||
$this->copyTranslations();
|
||||
$this->copyRoutesList();
|
||||
$this->copyApiConfigInfo();
|
||||
}
|
||||
|
|
@ -119,18 +118,6 @@ class GenerateCrmClient extends Command
|
|||
}
|
||||
}
|
||||
|
||||
private function copyTranslations()
|
||||
{
|
||||
$this->info('Copy Translations');
|
||||
$rootTarget = app_path('../' . self::TARGET . '/..');
|
||||
$source = \resource_path('lang/en/validation.php');
|
||||
$dest = "$rootTarget/resources/lang/en/validation.php";
|
||||
if (File::exists($dest)) {
|
||||
File::delete($dest);
|
||||
}
|
||||
File::copy($source, $dest);
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy Classes to specified folder
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue