Sha256: 63e52a899d02b654ec57bb53f4394976a7fd1da360ab4e0cb6fd2e53dbcd1d37
Contents?: true
Size: 1010 Bytes
Versions: 4
Compression:
Stored size: 1010 Bytes
Contents
require 'aruba/api' Given(/^I have an omnibus project named "(.+)"$/) do |name| create_directory(name) cd(name) write_file("config/projects/#{name}.rb", <<-EOH.gsub(/^ {4}/, '')) name '#{name}' maintainer 'Mrs. Maintainer' homepage 'https://example.com' install_dir './local/build/#{name}' build_version '1.0.0' exclude '\.git*' exclude 'bundler\/git' EOH write_file('omnibus.rb', <<-EOH.gsub(/^ {4}/, '')) # Build configuration append_timestamp false cache_dir './local/omnibus/cache' git_cache_dir './local/omnibus/cache/git_cache' source_dir './local/omnibus/src' build_dir './local/omnibus/build' package_dir './local/omnibus/pkg' package_tmp './local/omnibus/pkg-tmp' EOH end Given(/^I have a platform mappings file named "(.+)"$/) do |name| write_file(name, <<-EOH.gsub(/^ {4}/, '')) { "ubuntu-10.04": [ "ubuntu-10.04", "ubuntu-12.04", "ubuntu-14.04" ] } EOH end
Version data entries
4 entries across 4 versions & 1 rubygems