Skip to content
This repository
Newer
Older
100644 47 lines (36 sloc) 1.134 kb
15141c20 »
2010-04-24 Initial commit to barista.
1 require 'rubygems'
2d5e1bc1 »
2011-08-18 Fixed bundle/gem/rails setup, rake spec works.
2 require 'bundler'
3
4 begin
5 Bundler.setup(:default, :development)
6 rescue Bundler::BundlerError => e
7 $stderr.puts e.message
8 $stderr.puts "Run `bundle install` to install missing gems."
9 exit e.status_code
10 end
11
15141c20 »
2010-04-24 Initial commit to barista.
12 require 'rake'
2d5e1bc1 »
2011-08-18 Fixed bundle/gem/rails setup, rake spec works.
13 require 'rspec/core/rake_task'
15141c20 »
2010-04-24 Initial commit to barista.
14
2d5e1bc1 »
2011-08-18 Fixed bundle/gem/rails setup, rake spec works.
15 require 'barista/version'
02b7a2dc »
2010-04-24 Add more barista stuff
16
2d5e1bc1 »
2011-08-18 Fixed bundle/gem/rails setup, rake spec works.
17 require 'jeweler'
18 Jeweler::Tasks.new do |gem|
19 gem.name = "barista"
20 gem.summary = %Q{Simple, transparent coffeescript integration for Rails and Rack applications.}
21 gem.description = File.read(File.expand_path('DESCRIPTION', File.dirname(__FILE__)))
22 gem.email = "sutto@sutto.net"
23 gem.homepage = "http://github.com/Sutto/barista"
24 gem.version = Barista::Version::STRING
25 gem.authors = ["Darcy Laycock"]
15141c20 »
2010-04-24 Initial commit to barista.
26 end
2d5e1bc1 »
2011-08-18 Fixed bundle/gem/rails setup, rake spec works.
27 Jeweler::GemcutterTasks.new
15141c20 »
2010-04-24 Initial commit to barista.
28
2d5e1bc1 »
2011-08-18 Fixed bundle/gem/rails setup, rake spec works.
29 RSpec::Core::RakeTask.new(:spec) do |spec|
30 spec.pattern = "spec/**/*_spec.rb"
31 end
32
33 require 'rdoc/task'
34 RDoc::Task.new do |rdoc|
519e31cc »
2010-11-25 Add dependencies to the Gemfile, let Jeweler work them out for us
35 version = Barista::Version::STRING
15141c20 »
2010-04-24 Initial commit to barista.
36 rdoc.rdoc_dir = 'rdoc'
37 rdoc.title = "barista #{version}"
38 rdoc.rdoc_files.include('README*')
39 rdoc.rdoc_files.include('lib/**/*.rb')
40 end
2d5e1bc1 »
2011-08-18 Fixed bundle/gem/rails setup, rake spec works.
41
42 task :default => :spec
43
44 require 'barista'
45
46
Something went wrong with that request. Please try again.