浏览代码

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"

正在加载...
取消
保存