Browse Source

Added convenience script to build when packaging

master
Said Achmiz 6 years ago
parent
commit
f3eda034f2
2 changed files with 16 additions and 0 deletions
  1. 13
    0
      util/build-all.php
  2. 3
    0
      util/package.php

+ 13
- 0
util/build-all.php View File

<?php

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

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

?>

+ 3
- 0
util/package.php View File

<?php <?php


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

$platforms = [ $platforms = [
"chrome", "chrome",
"firefox" "firefox"

Loading…
Cancel
Save