Sha256: 69ccbec2ebd73fe20c6a2eb6a3e0a1843394740cc36e22644fa235d707558904

Contents?: true

Size: 513 Bytes

Versions: 89

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'eac_ruby_utils/envs'

module Avm
  module EacWebappBase0
    module Executables
      class << self
        enable_simple_cache

        def env
          ::EacRubyUtils::Envs.local
        end

        private

        %w[cssbeautify-cli js-beautify tidy].each do |program|
          define_method(program.underscore + '_uncached') do
            env.executable(program, '--version')
          end
        end
      end
    end
  end
end

Version data entries

89 entries across 89 versions & 2 rubygems

Version Path
eac_tools-0.43.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb
eac_tools-0.42.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb
avm-eac_webapp_base0-0.12.2 lib/avm/eac_webapp_base0/executables.rb
eac_tools-0.41.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb
avm-eac_webapp_base0-0.12.1 lib/avm/eac_webapp_base0/executables.rb
eac_tools-0.40.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb
eac_tools-0.39.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb
avm-eac_webapp_base0-0.12.0 lib/avm/eac_webapp_base0/executables.rb
eac_tools-0.38.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/executables.rb