Sha256: ac841f10b964d14e0514e8be46688601201406c952f08d99ac8b5d5f1899d7e9

Contents?: true

Size: 686 Bytes

Versions: 6

Compression:

Stored size: 686 Bytes

Contents

#!/bin/sh

# script/bootstrap: Resolve all dependencies that the application requires to
# run.

set -e

cd "$(dirname "$0")/.."

if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
  brew bundle check >/dev/null 2>&1  || {
    echo "==> Installing Homebrew dependencies…"
    brew bundle
  }
fi

if [ -f ".tool-versions" ] && [ "$(uname -s)" = "Darwin" ]; then
  echo "==> Installing package versions…"
  brew bootstrap-asdf
fi

if [ -f "Gemfile" ]; then
  echo "==> Installing gem dependencies…"
  bundle check >/dev/null 2>&1  || {
    bundle install --quiet --without production
  }
fi

if [ -f "package.json" ]; then
  echo "==> Installing node packages…"
  yarn
fi

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snowpack-1.0.0.alpha7 lib/snowpack/generators/application/templates/script/bootstrap
snowpack-1.0.0.alpha6 lib/snowpack/generators/application/templates/script/bootstrap
snowpack-1.0.0.alpha5 lib/snowpack/generators/application/templates/script/bootstrap
snowpack-1.0.0.alpha4 lib/snowpack/generators/application/templates/script/bootstrap
snowpack-1.0.0.alpha3 lib/snowpack/generators/application/templates/script/bootstrap
snowpack-1.0.0.alpha2 lib/snowpack/generators/application/templates/script/bootstrap