Added convenience script to build when packaging

This commit is contained in:
Said Achmiz 2019-02-05 16:07:28 -05:00
parent b52e6e2149
commit f3eda034f2
2 changed files with 16 additions and 0 deletions

13
util/build-all.php Normal file
View File

@ -0,0 +1,13 @@
<?php
$platforms = [
"chrome",
"firefox"
];
$root = preg_replace('/\/[^\/]+$/', '', dirname(__FILE__));
foreach ($platforms as $platform) {
`{$root}/build.sh {$platform}`;
}
?>

View File

@ -1,5 +1,8 @@
<?php
if ($argv[1] == "-b")
include_once("build-all.php");
$platforms = [
"chrome",
"firefox"