Sha256: b39d24d794dbe0e0a70d2d5fed6dbfb5736579393e3c1531f47f6bfa020080c9

Contents?: true

Size: 1.02 KB

Versions: 11

Compression:

Stored size: 1.02 KB

Contents

#!/bin/sh
#
# bootstrap
#

# Colors
ESC_SEQ="\x1b["
COL_RESET=$ESC_SEQ"39;49;00m"
COL_RED=$ESC_SEQ"31;01m"
COL_GREEN=$ESC_SEQ"32;01m"
COL_YELLOW=$ESC_SEQ"33;01m"

#
# Welcome to Heroku Paterns
#

echo ""
echo "  Welcome to Shibori. The pattern library for Heroku Elements and Marketing properties."
echo ""

#
# Check for Git
#

if test ! $(which git)
  then
  echo "$COL_RED  x $COL_RESET You need to install Git:"
  echo "Visit http://git-scm.com/book/en/v2/Getting-Started-Installing-Git for details"
  exit
else
  echo "$COL_GREEN  ✔ $COL_RESET Git found."
fi

#
# Check for NPM
#
if test ! $(which npm)
  then
  echo "$COL_RED  x $COL_RESET You need to install NPM first https://docs.npmjs.com/getting-started/installing-node"
fi

#
# Check for NPM
#
npm install --global gulp

#
# Installing Dependencies
#

echo ""
echo "  Installing dependencies..."
npm install
echo ""
echo "$COL_GREEN  ✔ $COL_RESET rubygems dependencies installed"
echo ""
echo "  👍  You're ready to go. Run ```gulp serve``` to launch Heroku Patterns"
echo ""

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shibori-1.9.0 script/bootstrap
shibori-1.8.0 script/bootstrap
shibori-1.7.1 script/bootstrap
shibori-1.7.0 script/bootstrap
shibori-1.6.0 script/bootstrap
shibori-1.5.1.beta1 script/bootstrap
shibori-1.5.0 script/bootstrap
shibori-1.4.0 script/bootstrap
shibori-1.3.0 script/bootstrap
shibori-1.3.0.beta1 script/bootstrap
shibori-1.0.0.beta1 script/bootstrap