Sha256: 0fd250c64701e419674e73b4b50fced9cb8d486632e51263653eda5d24c16a95
Contents?: true
Size: 861 Bytes
Versions: 1
Compression:
Stored size: 861 Bytes
Contents
# frozen_string_literal: true require 'xezat' require 'xezat/command/bump/compiler' require 'xezat/command/bump/language' require 'xezat/command/bump/tool' module Xezat module Command class Bump def get_development_packages(variables, packages) Xezat.logger.debug(' Collect development packages') compilers = get_compilers(get_languages(variables[:S]), variables) tools = get_tools(variables) build_requires = variables[:BUILD_REQUIRES].nil? ? [] : variables[:BUILD_REQUIRES].split.map(&:to_sym) development_packages = (compilers + tools + build_requires + [:cygport]).uniq.sort development_packages.delete(:'libssl-devel') if development_packages.include?(:'libssl1.0-devel') development_packages.map! do |package| packages[package] || '' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xezat-0.2.2 | lib/xezat/command/bump/development_package.rb |