Commit e832c91e authored by Sylvester Keil's avatar Sylvester Keil

add rakefile

update dependencies
parent 73c730ee
source 'https://rubygems.org' source 'https://rubygems.org'
gemspec gemspec
gem 'unicode_utils'
group 'development' do group 'development' do
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' gem 'debugger'
end end
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
default: --require features --color
\ No newline at end of file
...@@ -28,16 +28,6 @@ Gem::Specification.new do |s| ...@@ -28,16 +28,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('citeproc-ruby', '~> 0.0.6') s.add_runtime_dependency('citeproc-ruby', '~> 0.0.6')
s.add_runtime_dependency('bibtex-ruby', '~> 2.2') 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.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = [] s.executables = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment