Skip to content

Commit 1e22824

Browse files
committed
Change to extract task.
1 parent eed86a0 commit 1e22824

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

Rakefile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,3 @@ task default: [:spec, :features]
1616

1717
desc 'Run all specs on CI'
1818
task ci: [:spec, :features, 'coveralls:push']
19-
20-
desc 'Load gem inside irb console'
21-
task :console do
22-
require 'irb'
23-
require 'irb/completion'
24-
require File.join(__FILE__, '../lib/github_api')
25-
ARGV.clear
26-
IRB.start
27-
end

tasks/console.rake

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# encoding: utf-8
2+
3+
desc 'Load gem inside irb console'
4+
task :console do
5+
require 'irb'
6+
require 'irb/completion'
7+
require File.join(__FILE__, '../../lib/github_api')
8+
ARGV.clear
9+
IRB.start
10+
end

0 commit comments

Comments
 (0)