cxxproject_gcctoolchain 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ cxx_plugin do |cxx,bbs,log|
|
|
2
2
|
|
3
3
|
require 'errorparser/gcc_compiler_error_parser'
|
4
4
|
require 'errorparser/gcc_linker_error_parser'
|
5
|
-
gccCompilerErrorParser = GCCCompilerErrorParser.new
|
5
|
+
gccCompilerErrorParser = Cxxproject::GCCCompilerErrorParser.new
|
6
6
|
|
7
7
|
toolchain "gcc",
|
8
8
|
:COMPILER =>
|
@@ -39,7 +39,7 @@ cxx_plugin do |cxx,bbs,log|
|
|
39
39
|
:EXE_FLAG => "-o",
|
40
40
|
:LIB_FLAG => "-l",
|
41
41
|
:LIB_PATH_FLAG => "-L",
|
42
|
-
:ERROR_PARSER => GCCLinkerErrorParser.new
|
42
|
+
:ERROR_PARSER => Cxxproject::GCCLinkerErrorParser.new
|
43
43
|
},
|
44
44
|
:ARCHIVER =>
|
45
45
|
{
|
@@ -17,7 +17,7 @@ module Cxxproject
|
|
17
17
|
d.file_name = File.expand_path(scan_res[0][0])
|
18
18
|
d.line_number = scan_res[0][1].to_i
|
19
19
|
d.message = scan_res[0][4]
|
20
|
-
if (scan_res[0][3].include?
|
20
|
+
if (scan_res[0][3].include?('.'))
|
21
21
|
d.severity = SEVERITY_ERROR
|
22
22
|
d.message = scan_res[0][3] + ": " + d.message
|
23
23
|
else
|
@@ -20,7 +20,7 @@ module Cxxproject
|
|
20
20
|
d.message = l
|
21
21
|
if l.length == 0
|
22
22
|
d.severity = SEVERITY_OK
|
23
|
-
elsif l.include?" Warning:"
|
23
|
+
elsif l.include?(" Warning:")
|
24
24
|
d.severity = SEVERITY_WARNING
|
25
25
|
else
|
26
26
|
d.severity = SEVERITY_ERROR
|
@@ -30,6 +30,5 @@ module Cxxproject
|
|
30
30
|
[res, consoleOutput]
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
33
|
end
|
35
34
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cxxproject_gcctoolchain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- oliver mueller
|
@@ -10,11 +10,10 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-07-
|
13
|
+
date: 2012-07-12 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cxxproject
|
17
|
-
prerelease: false
|
18
17
|
requirement: &id001 !ruby/object:Gem::Requirement
|
19
18
|
none: false
|
20
19
|
requirements:
|
@@ -22,6 +21,7 @@ dependencies:
|
|
22
21
|
- !ruby/object:Gem::Version
|
23
22
|
version: 0.6.2
|
24
23
|
type: :runtime
|
24
|
+
prerelease: false
|
25
25
|
version_requirements: *id001
|
26
26
|
description: " Toolchain supporting GCC\n"
|
27
27
|
email: oliver.mueller@gmail.com
|
@@ -32,9 +32,9 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
|
34
34
|
files:
|
35
|
+
- lib/cxxproject_gcctoolchain/plugin.rb
|
35
36
|
- lib/errorparser/gcc_linker_error_parser.rb
|
36
37
|
- lib/errorparser/gcc_compiler_error_parser.rb
|
37
|
-
- lib/plugin.rb
|
38
38
|
homepage: https://github.com/marcmo/cxxproject
|
39
39
|
licenses: []
|
40
40
|
|