buildr-examples 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/rakefile.rb +30 -0
- metadata +3 -2
data/rakefile.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require "rake/testtask"
|
2
|
+
require "rake/rdoctask"
|
3
|
+
require "rake/gempackagetask"
|
4
|
+
require 'cucumber/rake/task'
|
5
|
+
|
6
|
+
Cucumber::Rake::Task.new do |t|
|
7
|
+
t.cucumber_opts = %w{--format pretty}
|
8
|
+
end
|
9
|
+
|
10
|
+
spec = eval(File.new("buildr-examples.gemspec").readlines.join("\n"))
|
11
|
+
|
12
|
+
Rake::GemPackageTask.new(spec) do |pkg|
|
13
|
+
pkg.need_zip = true
|
14
|
+
pkg.need_tar = true
|
15
|
+
end
|
16
|
+
|
17
|
+
|
18
|
+
Rake::RDocTask.new(:rdoc_dev) do |rd|
|
19
|
+
rd.rdoc_files.include("README.rdoc")
|
20
|
+
rd.options + ['-a', '--inline-source', '--charset=UTF-8']
|
21
|
+
end
|
22
|
+
|
23
|
+
|
24
|
+
# Rake::TestTask.new do |t|
|
25
|
+
# t.libs << "test"
|
26
|
+
# t.ruby_opts << "-rubygems"
|
27
|
+
# t.test_files = FileList['test/test_*.rb']
|
28
|
+
# t.verbose = true
|
29
|
+
# end
|
30
|
+
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- "Peter Schr\xC3\xB6der"
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- features/support/env.rb
|
178
178
|
- README.rdoc
|
179
179
|
- LICENSE
|
180
|
+
- rakefile.rb
|
180
181
|
has_rdoc: true
|
181
182
|
homepage: http://github.com/phoet/buildr-examples
|
182
183
|
licenses: []
|