Added convenience script to build when packaging
This commit is contained in:
parent
b52e6e2149
commit
f3eda034f2
13
util/build-all.php
Normal file
13
util/build-all.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$platforms = [
|
||||||
|
"chrome",
|
||||||
|
"firefox"
|
||||||
|
];
|
||||||
|
$root = preg_replace('/\/[^\/]+$/', '', dirname(__FILE__));
|
||||||
|
|
||||||
|
foreach ($platforms as $platform) {
|
||||||
|
`{$root}/build.sh {$platform}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
@ -1,5 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
if ($argv[1] == "-b")
|
||||||
|
include_once("build-all.php");
|
||||||
|
|
||||||
$platforms = [
|
$platforms = [
|
||||||
"chrome",
|
"chrome",
|
||||||
"firefox"
|
"firefox"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user