Sha256: df42f45dee15727e9c22fff4a3064be3235d88152d399d9aea8bfe221733b111

Contents?: true

Size: 408 Bytes

Versions: 5

Compression:

Stored size: 408 Bytes

Contents

require 'hanami/assets'
require 'hanami/commands/command'

module Hanami
  module Commands
    class Assets
      class Precompile < Command
        requires 'apps.assets.configurations'

        def start
          Hanami::Assets.precompile(configurations)
        end

        private

        def configurations
          requirements['apps.assets.configurations']
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hanami-1.0.0.beta2 lib/hanami/commands/assets/precompile.rb
hanami-1.0.0.beta1 lib/hanami/commands/assets/precompile.rb
hanami-0.9.2 lib/hanami/commands/assets/precompile.rb
hanami-0.9.1 lib/hanami/commands/assets/precompile.rb
hanami-0.9.0 lib/hanami/commands/assets/precompile.rb