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

16 lines
305 B
PHP
Raw Normal View History

2013-10-27 06:40:05 +01:00
<?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();
}
}