Browse Source

Move commands to build script and conditionally create /json directory

pull/362/head
Dave Machado 7 years ago
parent
commit
f3e1fe1b30
No known key found for this signature in database GPG Key ID: 948D4778D01A7B3F
2 changed files with 3 additions and 3 deletions
  1. +0
    -3
      .travis.yml
  2. +3
    -0
      build/build.sh

+ 0
- 3
.travis.yml View File

@@ -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 View File

@@ -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

Loading…
Cancel
Save