Update build script

This commit is contained in:
Pierre 2018-04-29 21:00:24 +02:00
parent 4f9946063d
commit 3221cf2732

12
build
View File

@ -10,6 +10,13 @@
//Defines some utilities //Defines some utilities
/**
* Display a message on the screen
*
* @param string $message The message to display on the screen
* @param bool $new_section Specify whether the message refers to a
* new build section or not
*/
function notice(string $message, bool $new_section = false) { function notice(string $message, bool $new_section = false) {
echo ($new_section ? "\n\n" : "").$message,"\n"; echo ($new_section ? "\n\n" : "").$message,"\n";
} }
@ -193,3 +200,8 @@ RewriteRule . index.php [L]
</IfModule> </IfModule>
'; ';
file_put_contents($output.".htaccess", $htaccess); file_put_contents($output.".htaccess", $htaccess);
//Done
notice("Done.", TRUE);