lib/rip/package_api.rb in rip-0.0.1 vs lib/rip/package_api.rb in rip-0.0.2
- old
+ new
@@ -32,9 +32,17 @@
# handles do |source|
# File.exists? File.join(source, '.git')
# end
# end
#
+# Hooks are provided to give your package access to the installation
+# process. If your package implements a method with the same name as
+# a hook, it'll be called and passed relevant information.
+#
+# The following hooks currently exist:
+#
+# dependency_installed(dependency<Package>, success<Boolean>)
+#
module Rip
module PackageAPI
# The package's name
def name