-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathRakefile
30 lines (27 loc) · 1.17 KB
/
Rakefile
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
30
# Copyright (C) 2011 Red Hat, Inc.
# Written by Ken Keiter <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA. A copy of the GNU General Public License is
# also available at http://www.gnu.org/copyleft/gpl.html.
#
# Author:: Kenneth Keiter (mailto:[email protected])
# Copyright:: Copyright (C) 2011 Red Hat, Inc.
# License:: Distributed under GPLv2
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
desc "Open an irb session preloaded with this library"
task :console do
sh "irb -rubygems -I lib -r spherical.rb -I spec -r spec_helper.rb"
end