This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
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();
}
}