#!/bin/sh

set -e

command -v bundle >/dev/null 2>&1 || gem install bundler
bundle install
vendor/bin/sculpin generate -n
bundle exec sass source/_sass/all.scss:output_dev/css/all.css --style=compressed
bundle exec htmlproofer output_dev --url-ignore 'foo-meta.md#errata-1-foo' --disable-external

#!/usr/bin/env sh

set -e

gem install bundler
bundle install
vendor/bin/sculpin generate -n
bundle exec sass source/_sass/all.scss:output_dev/css/all.css --style=compressed
bundle exec htmlproofer output_dev --url-ignore 'foo-meta.md#errata-1-foo' --disable-external

Revert "only install bundler if not present"
Revert "only install bundler if not present"

This reverts commit f9b5e26293600847e81b0c0a50032e88d7ebd5b3.
