File tree Expand file tree Collapse file tree 2 files changed +24
-10
lines changed Expand file tree Collapse file tree 2 files changed +24
-10
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ parsed_files = PARSER_FILES.map do |parser_file|
62
62
if parser_file =~ /\. ry\z / # need racc
63
63
racc = Gem . bin_path 'racc' , 'racc'
64
64
rb_file = parser_file . gsub ( /\. ry\z / , ".rb" )
65
- ruby "-rubygems #{ racc } -l -o #{ rb_file } #{ parser_file } "
65
+ ruby "-rrubygems #{ racc } -l -o #{ rb_file } #{ parser_file } "
66
66
elsif parser_file =~ /\. kpeg\z / # need kpeg
67
67
kpeg = Gem . bin_path 'kpeg' , 'kpeg'
68
68
rb_file = parser_file . gsub ( /\. kpeg\z / , ".rb" )
69
- ruby "-rubygems #{ kpeg } -fsv -o #{ rb_file } #{ parser_file } "
69
+ ruby "-rrubygems #{ kpeg } -fsv -o #{ rb_file } #{ parser_file } "
70
70
end
71
71
end
72
72
Original file line number Diff line number Diff line change 1
1
---
2
+ init :
3
+ # To avoid duplicated executables in PATH, see https://github.com/ruby/spec/pull/468
4
+ - set PATH=C:\ruby%RUBY_VERSION%\bin;C:\msys64\usr\bin;C:\Program Files\7-Zip;C:\Program Files\AppVeyor\BuildAgent;C:\Program Files\Git\cmd;C:\Windows\system32;C:\Program Files;C:\Windows
5
+ # Loads trunk build and updates MSYS2 / MinGW to most recent gcc compiler
6
+ - if %ruby_version%==_trunk (
7
+ appveyor DownloadFile %APPVEYOR_URL%/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z -FileName C:\ruby_trunk.7z &
8
+ 7z x C:\ruby_trunk.7z -oC:\ruby_trunk)
9
+
2
10
install :
3
- - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
4
- - gem install bundler --no-document
5
11
- bundle install
12
+
6
13
build : off
14
+
7
15
test_script :
8
16
- rake
17
+
18
+ on_finish :
19
+ - ruby -v
20
+
9
21
deploy : off
22
+
10
23
environment :
11
24
NOBENCHMARK : 1
12
25
matrix :
13
- - ruby_version : " 22"
14
- - ruby_version : " 22-x64"
15
- - ruby_version : " 23"
16
- - ruby_version : " 23-x64"
17
- - ruby_version : " 24"
18
- - ruby_version : " 24-x64"
26
+ - ruby_version : 22
27
+ - ruby_version : 22-x64
28
+ - ruby_version : 23
29
+ - ruby_version : 23-x64
30
+ - ruby_version : 24
31
+ - ruby_version : 24-x64
32
+ - ruby_version : _trunk
You can’t perform that action at this time.
0 commit comments