Skip to content
This repository was archived by the owner on Jul 9, 2020. It is now read-only.

Commit

Permalink
improve bash scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jfilter committed Jan 21, 2019
1 parent 8c54966 commit 9e3321c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
bundle exec jekyll build
#!/usr/bin/env bash
set -e
set -x

bundle exec jekyll build
6 changes: 5 additions & 1 deletion serve.sh
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
bundle exec jekyll serve
#!/usr/bin/env bash
set -e
set -x

bundle exec jekyll serve
6 changes: 4 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
set -e
set -x

# Make sure Bundler is installed
if [ "$(gem query -i -n bundler)" = "false" ]; then
Expand All @@ -12,4 +14,4 @@ bundle clean --force

# Set up Ruby dependencies via Bundler
echo "Installing Dependencies..."
bundle install --path .bundle/_vendor/bundle
bundle install --path .bundle/_vendor/bundle

0 comments on commit 9e3321c

Please sign in to comment.