Sha256: 7f28d4ab5a076ee7ab0838a01b64ae853377745d76d6f641782e88617579c8af

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

require 'jim'

module Soca
  module Plugins
    class Jim < Soca::Plugin

      name 'jim'

      def run(options = {})
        jimfile = File.join(app_dir, 'Jimfile')
        ::Jim.logger = logger
        logger.debug "bundling js"
        bundler = ::Jim::Bundler.new(File.read(jimfile), ::Jim::Index.new(app_dir))
        bundler.bundle!
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
soca-0.2.0 lib/soca/plugins/jim.rb
soca-0.1.2 lib/soca/plugins/jim.rb