Sequenzia/install/ApplicationInstaller/CompileAssets.php
2013-10-27 00:40:05 -05:00

16 lines
305 B
PHP
Executable File

<?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();
}
}