-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathRakefile
More file actions
26 lines (19 loc) · 777 Bytes
/
Copy pathRakefile
File metadata and controls
26 lines (19 loc) · 777 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
task :default => :test
# @todo restore the clang analyze task, don't forget to add rubyhdrdir
desc 'Startup an IRb console with accessibility-core loaded'
task :console => 'compile:core' do
sh 'irb -Ilib -raccessibility/core'
end
desc 'Startup an IRb console with everything loaded'
task :console_complete => :compile do
sh 'irb -Ilib -raccessibility/bridge -raccessibility/core -raccessibility/extras -raccessibility/highlighter -raccessibility/screen_shooter'
end
# Gem stuff
require 'rubygems/package_task'
SPEC = Gem::Specification.load('accessibility_core.gemspec')
Gem::PackageTask.new(SPEC) { }
desc 'Build and install gem (not including deps)'
task :install => :gem do
require 'rubygems/installer'
Gem::Installer.new("pkg/#{SPEC.file_name}").install
end