-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
42 lines (34 loc) · 751 Bytes
/
Copy pathRakefile
File metadata and controls
42 lines (34 loc) · 751 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
30
31
32
33
34
35
36
37
38
39
40
41
42
require "bundler/gem_tasks"
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/test-*.rb']
t.verbose = true
t.warning = false
end
desc "Run tests"
task :default => :test
desc "Build extcite docs"
task :docs do
system "yardoc"
end
desc "bundle install"
task :bundle do
system "bundle install"
end
desc "clean out builds"
task :clean do
system "ls | grep [0-9].gem | xargs rm"
end
desc "Build extcite"
task :build do
system "gem build extcite.gemspec"
end
desc "Install extcite"
task :install => [:bundle, :build] do
system "gem install extcite-#{Extcite::VERSION}.gem"
end
desc "Release to Rubygems"
task :release => :build do
system "gem push extcite-#{Extcite::VERSION}.gem"
end