bee_go 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/build/README +1 -1
- data/go.yml +7 -5
- metadata +4 -4
data/build/README
CHANGED
data/go.yml
CHANGED
@@ -61,11 +61,13 @@
|
|
61
61
|
- for: _dir
|
62
62
|
in: 'Dir.glob("#{go_src_dir}/#{go_package}/#{name}/**/*").select{|f| File.directory? f}'
|
63
63
|
do:
|
64
|
-
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
64
|
+
- if: 'Dir.glob("#{_dir}/*_test.go").length > 0'
|
65
|
+
then:
|
66
|
+
- rb: |
|
67
|
+
_pkg = _dir[go_src_dir.length+1..-1]
|
68
|
+
_name = _pkg[_pkg.rindex('/')+1..-1]
|
69
|
+
- "go test -covermode=#{go_cover_mode} -coverprofile=#{go_cov_file} #{_pkg} > /dev/null"
|
70
|
+
- "go tool cover -html=#{go_cov_file} -o #{go_build_dir}/#{_name}.html"
|
69
71
|
- "go test -cover #{go_package}/..."
|
70
72
|
- rm: :go_cov_file
|
71
73
|
- print: "Test coverage reports generated in directory '#{go_build_dir}'"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bee_go
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michel Casabianca
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2014-
|
18
|
+
date: 2014-09-09 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: bee
|