Move commands to build script and conditionally create /json directory

This commit is contained in:
Dave Machado 2017-05-25 00:26:38 -04:00
parent a3169fd177
commit f3e1fe1b30
No known key found for this signature in database
GPG Key ID: 948D4778D01A7B3F
2 changed files with 3 additions and 3 deletions

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

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