Sha256: 7c6d98f5229ab919b812b8e3950261a3124aa6193ab74900d2ddfd25f0e36ef8
Contents?: true
Size: 720 Bytes
Versions: 2
Compression:
Stored size: 720 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/pool-party-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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
auser-poolparty-0.0.8 | lib/poolparty/tasks/plugins.rake |
dreadpiratepj-poolparty-0.0.8 | lib/poolparty/tasks/plugins.rake |