dyci-compiler 0.0.1.pre → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dyci-compiler/clang_runner.rb +3 -1
- data/lib/dyci-compiler/version.rb +1 -1
- metadata +8 -11
@@ -1,8 +1,11 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
1
3
|
module DyCI
|
2
4
|
class ClangRunner
|
3
5
|
|
4
6
|
def compile args
|
5
7
|
args = args.map do |arg|
|
8
|
+
# TODO: find way to fix this issue
|
6
9
|
if arg =~ /\A-mmacosx-version-min/
|
7
10
|
""
|
8
11
|
else
|
@@ -10,7 +13,6 @@ module DyCI
|
|
10
13
|
end
|
11
14
|
end
|
12
15
|
cmd = "clang #{args.join(" ")}"
|
13
|
-
|
14
16
|
Kernel.exec(cmd)
|
15
17
|
end
|
16
18
|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dyci-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
|
11
|
-
version: 0.0.1.pre
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Alex Denisov
|
@@ -79,14 +78,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
79
|
none: false
|
81
80
|
requirements:
|
82
|
-
- - "
|
81
|
+
- - ">="
|
83
82
|
- !ruby/object:Gem::Version
|
84
|
-
hash:
|
83
|
+
hash: 3
|
85
84
|
segments:
|
86
|
-
-
|
87
|
-
|
88
|
-
- 1
|
89
|
-
version: 1.3.1
|
85
|
+
- 0
|
86
|
+
version: "0"
|
90
87
|
requirements: []
|
91
88
|
|
92
89
|
rubyforge_project:
|