lib/ruby_leiningen.rb in ruby_leiningen-0.1.0 vs lib/ruby_leiningen.rb in ruby_leiningen-0.2.0.pre.2
- old
+ new
@@ -17,9 +17,29 @@
module ClassMethods
def version
Commands::Version.new.execute
end
+
+ def check(opts = {})
+ Commands::Check.new.execute(opts)
+ end
+
+ def clean(opts = {})
+ Commands::Clean.new.execute(opts)
+ end
+
+ def deps(opts = {})
+ Commands::Deps.new.execute(opts)
+ end
+
+ def run(opts = {})
+ Commands::Run.new.execute(opts)
+ end
+
+ def uberjar(opts = {})
+ Commands::Uberjar.new.execute(opts)
+ end
end
extend ClassMethods
def self.included(other)
other.extend(ClassMethods)