From f3e1fe1b30635f266803ec35108469918e405fdc Mon Sep 17 00:00:00 2001 From: Dave Machado Date: Thu, 25 May 2017 00:26:38 -0400 Subject: [PATCH] Move commands to build script and conditionally create /json directory --- .travis.yml | 3 --- build/build.sh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 490c3aa7..671921ba 100644 --- a/.travis.yml +++ b/.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 diff --git a/build/build.sh b/build/build.sh index 1e2e49df..98a3ba22 100644 --- a/build/build.sh +++ b/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