Sha256: 4936eafef7f3dafd8d95fbcfce62449c6a059929baa615ee7e0f12303784dfd9
Contents?: true
Size: 347 Bytes
Versions: 10
Compression:
Stored size: 347 Bytes
Contents
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
10 entries across 10 versions & 1 rubygems