Bug #15339 ยป pr_2028.patch
| appveyor.yml | ||
|---|---|---|
| 
         - nmake install-nodoc 
   | 
||
| 
         - \usr\bin\ruby -v -e "p :locale => Encoding.find('locale'), :filesystem => Encoding.find('filesystem')" 
   | 
||
| 
       test_script: 
   | 
||
| 
         - \usr\bin\bundle --version 
   | 
||
| 
         - \usr\bin\gem    --version 
   | 
||
| 
         - \usr\bin\irb    --version 
   | 
||
| 
         - \usr\bin\rake   --version 
   | 
||
| 
         - \usr\bin\rdoc   --version 
   | 
||
| 
         - set /a JOBS=%NUMBER_OF_PROCESSORS% 
   | 
||
| 
         - nmake -l "TESTOPTS=-v -q" btest 
   | 
||
| 
         - nmake -l "TESTOPTS=-v -q" test-basic 
   | 
||
| ... | ... | |
| 
         - mingw32-make -j%JOBS% 
   | 
||
| 
         - mingw32-make DESTDIR=../install install-nodoc 
   | 
||
| 
       test_script: 
   | 
||
| 
         - cd ..\install 
   | 
||
| 
         - bin\bundle --version 
   | 
||
| 
         - bin\gem    --version 
   | 
||
| 
         - bin\irb    --version 
   | 
||
| 
         - bin\rake   --version 
   | 
||
| 
         - bin\rdoc   --version 
   | 
||
| 
         - cd ..\build 
   | 
||
| 
         - mingw32-make test 
   | 
||
| 
         - mingw32-make test-all TESTOPTS="--retry --job-status=normal --show-skip --subprocess-timeout-scale=1.5 --excludes=../ruby/test/excludes/_appveyor -j %JOBS% --exclude win32ole --exclude test_open-uri" 
   | 
||
| 
         # separately execute tests without -j which may crash worker with -j. 
   | 
||
| lib/bundler.gemspec | ||
|---|---|---|
| 
       s.files += %w[bundler.gemspec] 
   | 
||
| 
       s.bindir        = "exe" 
   | 
||
| 
       s.executables   = %w[bundle bundler] 
   | 
||
| 
       s.executables   = %w[bundle bundle_ruby bundler] 
   | 
||
| 
       s.require_paths = ["lib"] 
   | 
||
| 
     end 
   | 
||
| tool/rbinstall.rb | ||
|---|---|---|
| 
           bin_dir = File.join(gem_dir, 'gems', full_name, gemspec.bindir) 
   | 
||
| 
           makedirs(bin_dir) 
   | 
||
| 
           orig_cmdtype = $cmdtype 
   | 
||
| 
           $cmdtype = nil if RUBY_PLATFORM =~ /mswin|mingw|bccwin/ 
   | 
||
| 
           gemspec.executables.map {|exec| 
   | 
||
| 
             $script_installer.install(File.join(srcdir, 'libexec', exec), 
   | 
||
| 
                                       File.join(bin_dir, exec)) 
   | 
||
| 
           } 
   | 
||
| 
           $cmdtype = orig_cmdtype 
   | 
||
| 
         end 
   | 
||
| 
       end 
   | 
||
| 
     end 
   | 
||