浏览代码

Move commands to build script and conditionally create /json directory

pull/362/head
Dave Machado 7 年前
父节点
当前提交
f3e1fe1b30
找不到此签名对应的密钥 GPG 密钥 ID: 948D4778D01A7B3F
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. +0
    -3
      .travis.yml
  2. +3
    -0
      build/build.sh

+ 0
- 3
.travis.yml 查看文件

@@ -8,8 +8,5 @@ script:
after_script:
- cd build
- sh build.sh
- ls -l ../
- ls -l ../json
- cat -l ../json/api.json
notifications:
email: false

+ 3
- 0
build/build.sh 查看文件

@@ -1,4 +1,7 @@
#!/bin/bash

mkdir -p ../json
node md2json.js ../README.md > ../json/api.json
cat ../json/api.json
ls -l ..
ls -l ../json

正在加载...
取消
保存