acpc_dealer 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +19 -3
- data/lib/acpc_dealer/version.rb +1 -1
- data/vendor/project_acpc_server/bm_server +0 -0
- data/vendor/project_acpc_server/dealer +0 -0
- data/vendor/project_acpc_server/example_player +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 374ade06952da1d17d263c1556a32917bfe6aba4
|
4
|
+
data.tar.gz: a92a63b02fd4b17f2001c20e9a8b68ea535000a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b1310a85c305b0bd1a02aa0504bf829bebf1d0e41dd342a665e2615984eded44521bdca189a18d0e830feed99de2cdfdb4e5c8585f14bc53449533dd694f7a0
|
7
|
+
data.tar.gz: ea02cfe5f8a4b5d4e457b6334b6c4fbe13a9f90128bd0c12d6e767dd71caa5b7c2951622a0f0ee130a6dfc9c176f4b3cee49d3d6844cafa4c5d5ab527502b2c4
|
data/Rakefile
CHANGED
@@ -6,9 +6,16 @@ require 'rake/testtask'
|
|
6
6
|
require File.expand_path('../lib/acpc_dealer/version', __FILE__)
|
7
7
|
|
8
8
|
desc 'Build gem'
|
9
|
-
task :default => :build
|
9
|
+
task :default => [:build, :test]
|
10
10
|
|
11
|
-
|
11
|
+
desc 'Compile ACPC dealer'
|
12
|
+
task :dealer do
|
13
|
+
Dir.chdir(File.expand_path('../vendor/project_acpc_server', __FILE__)) do
|
14
|
+
sh "make"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
task :build => [:clean, :compile, :dealer]
|
12
19
|
|
13
20
|
Rake::TestTask.new do |t|
|
14
21
|
t.libs << "lib" << 'spec/support'
|
@@ -22,4 +29,13 @@ def gemspec
|
|
22
29
|
end
|
23
30
|
|
24
31
|
Gem::PackageTask.new(gemspec) { |pkg| }
|
25
|
-
Rake::ExtensionTask.new('hand_evaluator', gemspec)
|
32
|
+
Rake::ExtensionTask.new('hand_evaluator', gemspec)
|
33
|
+
|
34
|
+
task :clean do
|
35
|
+
sh "rm -f lib/hand_evaluator.so"
|
36
|
+
|
37
|
+
Dir.chdir(File.expand_path('../vendor/project_acpc_server', __FILE__)) do
|
38
|
+
sh "make clean"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
data/lib/acpc_dealer/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|