Sha256: f9efc8978063c62d4f338716a2f77f386aa5625dbfdeb02e5418fd85f569817f

Contents?: true

Size: 535 Bytes

Versions: 2

Compression:

Stored size: 535 Bytes

Contents

#!/usr/bin/env ruby

require 'yaml'
require 'fileutils'

test_home = File.expand_path(File.dirname(__FILE__))
project_home = File.expand_path(File.join(test_home, '..'))
gemfile_path = File.join(test_home, 'data', 'Gemfile')

gem_names = `#{ File.join(test_home, 'list_all') }`.split("\n")

FileUtils.mkdir_p File.dirname(gemfile_path)
File.open(gemfile_path, 'w') do |f|
  f.puts %{source "https://rubygems.org"}
  gem_names.each do |gem_name|
    f.puts %{gem "#{gem_name}"}
  end
end

puts " * Generated gemfile at #{gemfile_path}"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
natives-0.5.3 catalogs_test/setup
natives-0.5.2 catalogs_test/setup