Przeglądaj źródła

Added convenience script to build when packaging

master
Said Achmiz 6 lat temu
rodzic
commit
f3eda034f2
2 zmienionych plików z 16 dodań i 0 usunięć
  1. 13
    0
      util/build-all.php
  2. 3
    0
      util/package.php

+ 13
- 0
util/build-all.php Wyświetl plik

@@ -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 Wyświetl plik

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

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

$platforms = [
"chrome",
"firefox"

Ładowanie…
Anuluj
Zapisz