charguess 1.1 → 1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +1 -1
- data/Rakefile +1 -1
- data/tasks/extconf/charguess.rake +1 -10
- metadata +1 -1
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Generate all the Rake tasks
|
4
4
|
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
5
|
-
$hoe = Hoe.new('charguess', "1.
|
5
|
+
$hoe = Hoe.new('charguess', "1.2") do |p|
|
6
6
|
p.developer('Ernesto Jiménez', 'erjica@gmail.com')
|
7
7
|
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
8
8
|
p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
|
@@ -26,18 +26,9 @@ namespace :extconf do
|
|
26
26
|
desc "Builds just the #{extension} extension"
|
27
27
|
task extension.to_sym => ["#{ext}/Makefile", ext_so ]
|
28
28
|
|
29
|
-
file "#{ext}/Makefile" => ["#{ext}/extconf.rb"
|
30
|
-
puts "--------> in the buttt"
|
29
|
+
file "#{ext}/Makefile" => ["#{ext}/extconf.rb"] do
|
31
30
|
Dir.chdir(ext) do ruby "extconf.rb" end
|
32
31
|
end
|
33
|
-
|
34
|
-
task :"ext/libcharguess/cpp/charguess.a" do
|
35
|
-
puts "--------> whaaat"
|
36
|
-
Dir.chdir("ext/libcharguess/cpp") do
|
37
|
-
sh("./configure")
|
38
|
-
sh("make")
|
39
|
-
end
|
40
|
-
end
|
41
32
|
|
42
33
|
file ext_so => ext_files do
|
43
34
|
Dir.chdir(ext) do
|