forked from dbtek/dbyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·27 lines (21 loc) · 751 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·27 lines (21 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
# ==========================================================================
# Setup script for installing project dependencies.
# NOTE: Run this script while in the project root directory.
# It will not run correctly when run from another directory.
# ==========================================================================
# Set script to exit on any errors.
set -e
# Build project dependencies.
build(){
if hash gem 2>/dev/null; then
echo 'Installing project dependencies...'
gem install jekyll
gem install pygments.rb
gem install jekyll-paginate
else
echo 'Ruby Gems is not installed...'
echo 'Go here to install: https://rubygems.org/pages/download'
fi
}
build