aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.gitattributes3
-rw-r--r--.python-version1
-rw-r--r--.ruby-version1
-rw-r--r--Gemfile.lock6
-rw-r--r--_config.yml5
-rwxr-xr-xdeps.sh19
-rw-r--r--requirements.txt1
7 files changed, 34 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..d76765e
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+* text=auto
+
+*.sh text eol=lf
diff --git a/.python-version b/.python-version
new file mode 100644
index 0000000..a616492
--- /dev/null
+++ b/.python-version
@@ -0,0 +1 @@
+2.7.18
diff --git a/.ruby-version b/.ruby-version
new file mode 100644
index 0000000..bc4abe8
--- /dev/null
+++ b/.ruby-version
@@ -0,0 +1 @@
+2.3.8
diff --git a/Gemfile.lock b/Gemfile.lock
index dbbf2a6..cf4ce77 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -24,6 +24,7 @@ GEM
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
fast-stemmer (1.0.2)
+ ffi (1.9.10)
ffi (1.9.10-x64-mingw32)
ffi (1.9.10-x86-mingw32)
gemoji (2.1.0)
@@ -104,6 +105,8 @@ GEM
minitest (5.8.3)
multipart-post (2.0.0)
net-dns (0.8.0)
+ nokogiri (1.6.7.1)
+ mini_portile2 (~> 2.0.0.rc2)
nokogiri (1.6.7.1-x64-mingw32)
mini_portile2 (~> 2.0.0.rc2)
nokogiri (1.6.7.1-x86-mingw32)
@@ -136,17 +139,16 @@ GEM
ethon (>= 0.8.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
- wdm (0.1.1)
yajl-ruby (1.2.1)
PLATFORMS
+ ruby
x64-mingw32
x86-mingw32
DEPENDENCIES
github-pages
rouge
- wdm (~> 0.1.0)
BUNDLED WITH
1.10.6
diff --git a/_config.yml b/_config.yml
index e875a3e..656bd3b 100644
--- a/_config.yml
+++ b/_config.yml
@@ -7,3 +7,8 @@ jquery_version: 1.11.3
html5shiv_version: 3.7.2
respond_version: 1.4.2
minified_externals: true
+
+exclude:
+ - Gemfile
+ - Gemfile.lock
+ - deps.sh
diff --git a/deps.sh b/deps.sh
new file mode 100755
index 0000000..05232bf
--- /dev/null
+++ b/deps.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+
+set -o errexit -o nounset -o pipefail
+shopt -s inherit_errexit lastpipe
+
+rbenv install --skip-existing "$( cat .ruby-version )"
+rbenv rehash
+
+gem install bundler -v "$( tail -n 1 Gemfile.lock )"
+rbenv rehash
+
+bundle install
+rbenv rehash
+
+pyenv install --skip-existing "$( cat .python-version )"
+pyenv rehash
+
+pip install -r requirements.txt
+pyenv rehash
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..ecb2bef
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+Pygments==2.5.2