Initial commit
Co-authored-by: Nick Van Wiggeren <nickvanw@github.com> Co-authored-by: Thomas Osowski <osowskit@github.com> Co-authored-by: Nick Van Wiggeren <nickvanw@users.noreply.github.com> Co-authored-by: Max Schoening <max@max.wtf> Co-authored-by: Steve Winton <stevewinton@gmail.com> Co-authored-by: Tom Osowski <osowskit@github.com> Co-authored-by: Brandon Keepers <bkeepers@github.com> Co-authored-by: Max Schoening <max@github.com> Co-authored-by: Steve Winton <swinton@users.noreply.github.com> Co-authored-by: Guðmundur Bjarni Ólafsson <gudmundur@github.com> Co-authored-by: Mike Coutermarsh <mscoutermarsh@github.com>
This commit is contained in:
15
script/bootstrap
Executable file
15
script/bootstrap
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# script/bootstrap: Resolve dependencies that the application requires to run.
|
||||
|
||||
# Exit if any subcommand fails
|
||||
set -e
|
||||
|
||||
# Ensure we're always running from the project root
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
|
||||
brew bundle check >/dev/null 2>&1 || {
|
||||
echo "==> Installing Homebrew dependencies…"
|
||||
brew bundle
|
||||
}
|
||||
fi
|
||||
10
script/test
Executable file
10
script/test
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Exit if any subcommand fails
|
||||
set -e
|
||||
|
||||
# Ensure we're always running from the project root
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
bats test/*.bats
|
||||
shellcheck *.sh
|
||||
Reference in New Issue
Block a user