Skip to content
Browse files

add rakefile

update dependencies
  • Loading branch information...
1 parent 73c730e commit e832c91e6cb29012e415b57a6cbbf7f16061d410 @inukshuk committed Apr 5, 2013
Showing with 39 additions and 13 deletions.
  1. +15 −3 Gemfile
  2. +23 −0 Rakefile
  3. +1 −0 cucumber.yml
  4. +0 −10 jekyll-scholar.gemspec
View
18 Gemfile
@@ -1,8 +1,20 @@
source 'https://rubygems.org'
gemspec
-gem 'unicode_utils'
-
group 'development' do
- gem 'debugger'
+ gem 'rake'
+ gem 'redgreen', '~> 1.2'
+ gem 'shoulda', '~> 3.3.2'
+ gem 'rr', '~> 1.0'
+ gem 'cucumber', '~> 1.2.1'
+ gem 'RedCloth', '~> 4.2'
+ gem 'rdiscount', '~> 1.6'
+ gem 'redcarpet', '~> 2.2.2'
+ gem 'launchy', '~> 2.1.2'
+
+ gem 'unicode_utils'
+end
+
+group 'debug' do
+ gem 'debugger'
end
View
23 Rakefile
@@ -0,0 +1,23 @@
+require 'bundler'
+begin
+ Bundler.setup(:default, :development)
+rescue Bundler::BundlerError => e
+ $stderr.puts e.message
+ $stderr.puts "Run `bundle install` to install missing gems"
+ exit e.status_code
+end
+require 'rake'
+
+require 'jekyll/scholar/version'
+
+require 'cucumber/rake/task'
+Cucumber::Rake::Task.new(:features)
+
+task :default => [:features]
+
+task :release do |t|
+ system "gem build jekyll-scholar.gemspec"
+ system "git tag #{Jekyll::Scholar::VERSION}"
+ system "git push --tags"
+ system "gem push jekyll-scholar-#{Jekyll::Scholar::VERSION}.gem"
+end
View
1 cucumber.yml
@@ -0,0 +1 @@
+default: --require features --color
View
10 jekyll-scholar.gemspec
@@ -28,16 +28,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('citeproc-ruby', '~> 0.0.6')
s.add_runtime_dependency('bibtex-ruby', '~> 2.2')
- s.add_development_dependency('rake', "~> 0.9")
- s.add_development_dependency('rdoc', "~> 3.11")
- s.add_development_dependency('redgreen', "~> 1.2")
- s.add_development_dependency('shoulda', "~> 2.11")
- s.add_development_dependency('rr', "~> 1.0")
- s.add_development_dependency('cucumber', "1.1")
- s.add_development_dependency('RedCloth', "~> 4.2")
- s.add_development_dependency('rdiscount', "~> 1.6")
- s.add_development_dependency('redcarpet', "~> 1.9")
-
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = []

0 comments on commit e832c91

Please sign in to comment.
Something went wrong with that request. Please try again.