forked from rspec/rspec-metagem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
30 lines (24 loc) · 682 Bytes
/
Rakefile
File metadata and controls
30 lines (24 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require "bundler"
Bundler.setup
Bundler::GemHelper.install_tasks
task :build => :raise_if_psych_is_defined
task :raise_if_psych_is_defined do
if defined?(Psych)
raise <<-MSG
===============================================================================
Gems compiled in Ruby environments with Psych loaded are incompatible with Ruby
environments that don't have Psych loaded. Try building this gem in Ruby 1.8.7
instead.
===============================================================================
MSG
end
end
require 'rake'
require 'fileutils'
require 'pathname'
task :clobber do
rm_rf 'pkg'
end
task :default do
puts "Nothing to do for the default task"
end