mswin-build 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mswin-build/builder.rb +2 -2
- data/lib/mswin-build/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fa9c0789a580d68abf67f28ba90ca123e4d3a70ed12adbe03aabe8acec81e10
|
4
|
+
data.tar.gz: 589affa876a69a9dfd0585c0a251d56bd6e197551ec0f3a668bc67dc8a4bd2b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 274bb7f67dbecd4a94e8bf261e17d2c99a1025604aee2f2ef2caa81bf44cd19d140690569eb44c5e7d9df470ed96bf3a316d19b21d29c5898c76b3314fff5643
|
7
|
+
data.tar.gz: ed43023e96d1897d64fac50d27da6c8898ce21aa6f85e7eb5d671625e91fb7c9f4081d24344497250c5822f1ce021a6e526b7414b509df0b1cc2533e99ccaf77
|
data/lib/mswin-build/builder.rb
CHANGED
@@ -359,10 +359,11 @@ module MswinBuild
|
|
359
359
|
end
|
360
360
|
|
361
361
|
define_buildmethod(:checkout) do |io, tmpdir|
|
362
|
+
@builddir = File.join(tmpdir, "ruby")
|
362
363
|
if @is_git
|
363
364
|
# git/ruby
|
364
365
|
Dir.chdir(tmpdir) do
|
365
|
-
do_command(io, "git/ruby", "#{@config['git']} clone -q --branch #{@config['branch']} #{@config['repository']} ruby")
|
366
|
+
do_command(io, "git/ruby", "#{@config['git']} clone -q --branch #{@config['branch']} --depth 1 --single-branch #{@config['repository']} ruby")
|
366
367
|
end
|
367
368
|
else
|
368
369
|
# svn/ruby
|
@@ -371,7 +372,6 @@ module MswinBuild
|
|
371
372
|
end
|
372
373
|
|
373
374
|
# svn-info/ruby
|
374
|
-
@builddir = File.join(tmpdir, "ruby")
|
375
375
|
do_command(io, "svn-info/ruby", "#{@config['svn']} info", true) do |s|
|
376
376
|
if /^URL: (.*)$/ =~ `#{@config['svn']} info 2> NUL`
|
377
377
|
@data[:svn_url] = $1
|
data/lib/mswin-build/version.rb
CHANGED