install/compileassets
This commit is contained in:
parent
3b8f3cf300
commit
656288ebe4
15
install/ApplicationInstaller/CompileAssets.php
Executable file
15
install/ApplicationInstaller/CompileAssets.php
Executable file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace ApplicationInstaller;
|
||||
|
||||
/**
|
||||
* Post-install script ran when installing the system
|
||||
* using composer. It compiles assets.
|
||||
*/
|
||||
class CompileAssets
|
||||
{
|
||||
static public function compile()
|
||||
{
|
||||
require __DIR__ . '/../../config/boot.php';
|
||||
\Rails::assets()->compileAll();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user