瀏覽代碼

Travis CI now adds a compile message

n1474335 8 年之前
父節點
當前提交
cbdc24d869
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .travis.yml
  2. 1 1
      Gruntfile.js

+ 1 - 1
.travis.yml

@@ -9,7 +9,7 @@ script:
   - grunt test
   - grunt docs
   - grunt node
-  - grunt prod
+  - grunt prod --msg="$COMPILE_MSG"
 before_deploy:
   - grunt copy:ghPages
 deploy:

+ 1 - 1
Gruntfile.js

@@ -75,7 +75,7 @@ module.exports = function (grunt) {
             "* See the License for the specific language governing permissions and\n" +
             "* limitations under the License.\n" +
             "*/\n",
-            pkg = grunt.file.readJSON("package.json");
+        pkg = grunt.file.readJSON("package.json");
 
     /**
      * Compiles a production build of CyberChef into a single, portable web page.