Sha256: 986f30d58ff53ca55ee176bfc4379d0a742a9905296bc3e16983b79dcaaa274e
Contents?: true
Size: 719 Bytes
Versions: 5
Compression:
Stored size: 719 Bytes
Contents
namespace(:plugin) do task :init do @command = ARGV.shift # Get rid of the command @name = (ENV['location'] || ENV["l"] || ARGV.shift) unless @name puts <<-EOM Usage: rake #{@command} location Example: rake #{@command} git://github.com/auser/poolparty-plugins.git Check the help does for more information how to install a plugin http://poolpartyrb.com EOM exit end end desc "Install a plugin from a git repository" task :install => :init do |command| PoolParty::PluginManager.install_plugin @name end desc "Remove an installed plugin" task :remove => :init do |command| PoolParty::PluginManager.remove_plugin @name end rule "" do |t| end end
Version data entries
5 entries across 5 versions & 2 rubygems