neri 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/neri/build.rb +4 -4
- data/lib/neri/version.rb +1 -1
- 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: 174c9950502ddeda2273e775f0744d3e77f06860
|
|
4
|
+
data.tar.gz: 7778da03d718d974c48e2926996c5ffa264b3366
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6790276ff5d836d9ac00f1ccdc09ae307456369e4b169596c32479df41c444000962e0cb178876253b47fd0a2e4ce189a2b0bcf19ab0d862366f885ff0dc7c7
|
|
7
|
+
data.tar.gz: ec2b20a88f243406faa83933e19edf44a0f2676857bc0ba69c2669d4549d87a32f5472ce0b38270c76fbe269bd01f0c3d8022b3f4ced12d7443ab41429a17e2d
|
data/lib/neri/build.rb
CHANGED
|
@@ -602,16 +602,16 @@ endlocal
|
|
|
602
602
|
exefile = batchfile.sub(/\.bat$/, ".exe")
|
|
603
603
|
nputs "Creating exe_file '#{exefile}'."
|
|
604
604
|
File.delete(exefile) if File.exist?(exefile)
|
|
605
|
-
args =
|
|
605
|
+
args = %[ /bat "#{batchfile}" /exe "#{exefile}"]
|
|
606
606
|
if options[:b2ec][:x64] == nil
|
|
607
607
|
options[:b2ec][:x64] = true if RbConfig::CONFIG["target"].to_s.index("64")
|
|
608
608
|
end
|
|
609
609
|
|
|
610
610
|
args += options[:b2ec].map{|key, value|
|
|
611
611
|
case value
|
|
612
|
-
when String;
|
|
613
|
-
when true;
|
|
614
|
-
else;
|
|
612
|
+
when String; %[ /#{key.to_s.tr('_', '-')} "#{value}"]
|
|
613
|
+
when true; %[ /#{key.to_s.tr('_', '-')}]
|
|
614
|
+
else; %[]
|
|
615
615
|
end
|
|
616
616
|
}.join("")
|
|
617
617
|
begin
|
data/lib/neri/version.rb
CHANGED