cxxproject_valgrind 1.0.1 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile.rb +2 -2
- data/lib/{plugin.rb → cxxproject_valgrind/plugin.rb} +3 -2
- metadata +4 -4
data/Rakefile.rb
CHANGED
@@ -4,7 +4,7 @@ require 'rubygems/package_task'
|
|
4
4
|
desc "Default Task"
|
5
5
|
task :default => [:install]
|
6
6
|
|
7
|
-
PKG_VERSION = "1.0.
|
7
|
+
PKG_VERSION = "1.0.4"
|
8
8
|
PKG_FILES = FileList[
|
9
9
|
"lib/**/*.rb",
|
10
10
|
"Rakefile.rb",
|
@@ -22,7 +22,7 @@ spec = Gem::Specification.new do |s|
|
|
22
22
|
s.require_path = "lib"
|
23
23
|
s.author = "christian koestlin"
|
24
24
|
s.email = "christian.koestlin@gmail.com"
|
25
|
-
s.homepage =
|
25
|
+
s.homepage = 'http://marcmo.github.com/cxxproject/'
|
26
26
|
s.add_dependency("cxxproject")
|
27
27
|
end
|
28
28
|
|
@@ -9,7 +9,7 @@ cxx_plugin do |cxxproject2rake, building_blocks, log|
|
|
9
9
|
else
|
10
10
|
cxxproject2rake.create_filter_task_with_namespace(:valgrind)
|
11
11
|
end
|
12
|
-
|
12
|
+
|
13
13
|
building_blocks.each_value.to_a.select do |bb|
|
14
14
|
bb.is_a? Cxxproject::Executable
|
15
15
|
end.each do |bb|
|
@@ -18,7 +18,8 @@ cxx_plugin do |cxxproject2rake, building_blocks, log|
|
|
18
18
|
namespace 'valgrind' do
|
19
19
|
desc "run executable #{executable} with valgrind"
|
20
20
|
res = task name => executable do |t|
|
21
|
-
|
21
|
+
args = ENV['args'] ? ' ' + ENV['args'] : ''
|
22
|
+
sh "valgrind --leak-check=full #{executable}#{args}"
|
22
23
|
end
|
23
24
|
res.type = Rake::Task::RUN
|
24
25
|
res
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cxxproject_valgrind
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cxxproject
|
@@ -35,9 +35,9 @@ executables: []
|
|
35
35
|
extensions: []
|
36
36
|
extra_rdoc_files: []
|
37
37
|
files:
|
38
|
-
- lib/plugin.rb
|
38
|
+
- lib/cxxproject_valgrind/plugin.rb
|
39
39
|
- Rakefile.rb
|
40
|
-
homepage:
|
40
|
+
homepage: http://marcmo.github.com/cxxproject/
|
41
41
|
licenses: []
|
42
42
|
post_install_message:
|
43
43
|
rdoc_options: []
|