瀏覽代碼

Added convenience script to build when packaging

master
Said Achmiz 6 年之前
父節點
當前提交
f3eda034f2
共有 2 個文件被更改,包括 16 次插入0 次删除
  1. 13
    0
      util/build-all.php
  2. 3
    0
      util/package.php

+ 13
- 0
util/build-all.php 查看文件

@@ -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 查看文件

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

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

$platforms = [
"chrome",
"firefox"

Loading…
取消
儲存