From 543099e91416d8affa22d2a741c40b49ce7092ef Mon Sep 17 00:00:00 2001 From: nitrohorse <1514352+nitrohorse@users.noreply.github.com> Date: Sat, 3 Aug 2019 20:53:03 -0700 Subject: [PATCH] Move build.sh into bin/ --- .travis.yml | 2 +- build.sh => bin/build.sh | 1 + bin/html-beautify-check.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename build.sh => bin/build.sh (98%) diff --git a/.travis.yml b/.travis.yml index d473c159..3914e923 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ matrix: # Assume bundler is being used, therefore # the `install` step will run `bundle install` by default. - script: ./build.sh + script: ./bin/build.sh sudo: false # route your build to the container-based infrastructure for a faster build diff --git a/build.sh b/bin/build.sh similarity index 98% rename from build.sh rename to bin/build.sh index ebe27b86..1a058fd1 100755 --- a/build.sh +++ b/bin/build.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash + set -e # halt script on error bundle exec jekyll build diff --git a/bin/html-beautify-check.sh b/bin/html-beautify-check.sh index 5014ed6a..d64c0ccc 100755 --- a/bin/html-beautify-check.sh +++ b/bin/html-beautify-check.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Runs html-beautify's format check and errors with 0/1 if it needs to be changed. APPDIR=$(readlink -f $(dirname $(dirname $0)))