Sha256: fee92c76f7f5ce12e0e054cc11989b4c139e0a4a127af4665f220fa5370fa5b7
Contents?: true
Size: 378 Bytes
Versions: 16
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true require_relative '../../commands' RubyLeiningen::Commands.define_custom_command('cljstyle') do |config, opts| mode = opts[:mode] || :check paths = opts[:paths] || [] config.on_command_builder do |command| command = command.with_subcommand(mode.to_s) paths.inject(command) do |c, path| c.with_argument(path) end end end
Version data entries
16 entries across 16 versions & 1 rubygems