Selaa lähdekoodia

Added convenience script to build when packaging

master
Said Achmiz 6 vuotta sitten
vanhempi
commit
f3eda034f2
2 muutettua tiedostoa jossa 16 lisäystä ja 0 poistoa
  1. 13
    0
      util/build-all.php
  2. 3
    0
      util/package.php

+ 13
- 0
util/build-all.php Näytä tiedosto

@@ -0,0 +1,13 @@
<?php

$platforms = [
"chrome",
"firefox"
];
$root = preg_replace('/\/[^\/]+$/', '', dirname(__FILE__));

foreach ($platforms as $platform) {
`{$root}/build.sh {$platform}`;
}

?>

+ 3
- 0
util/package.php Näytä tiedosto

@@ -1,5 +1,8 @@
<?php

if ($argv[1] == "-b")
include_once("build-all.php");

$platforms = [
"chrome",
"firefox"

Loading…
Peruuta
Tallenna