diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b680332 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: ruby +rvm: + - 1.9.3 + +install: + - "rake generate" + - "rake deploy" + diff --git a/Gemfile b/Gemfile index 540ab96..bbc4d79 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,5 @@ source 'http://rubygems.org' +gem "rake" gem "jekyll", "0.11.0" gem "liquid", "~>2.2.2" gem "microstatic", "~> 0.1.0" diff --git a/Rakefile b/Rakefile index 59b1021..d46718f 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,8 @@ require 'aws/s3' require_relative 'tasks/deploy_tasks.rb' + +desc "use jekyll to generate the static site into the `public` dir" +task :generate do + sh "jekyll public" +end