1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Publish core assets when migrating

This commit is contained in:
Toby Zerner
2018-11-14 16:41:07 +10:30
parent 1f0bf33cfb
commit b26eb8e609

View File

@@ -74,5 +74,12 @@ class MigrateCommand extends AbstractCommand
}
$this->container->make('Flarum\Settings\SettingsRepositoryInterface')->set('version', $this->container->version());
$this->info('Publishing assets...');
$this->container->make('files')->copyDirectory(
base_path().'/vendor/components/font-awesome/webfonts',
public_path().'/assets/fonts'
);
}
}