Class: RoastBeef::BzrPackage
- Defined in:
- lib/roastbeef/scms/bzr_package.rb
Instance Attribute Summary
Attributes inherited from Package
#author, #build, #description, #name, #prereqs, #remove, #repository, #url
Instance Method Summary collapse
-
#checkout ⇒ Object
TODO: no idea if this works.
- #update ⇒ Object
Methods inherited from Package
all, #checked_out?, find, #initialize, #inspect, #install, #path, #to_s, #truncated_description, #unremovable?
Constructor Details
This class inherits a constructor from RoastBeef::Package
Instance Method Details
#checkout ⇒ Object
TODO: no idea if this works
4 5 6 |
# File 'lib/roastbeef/scms/bzr_package.rb', line 4 def checkout system "bzr clone #{repository} #{path}" end |
#update ⇒ Object
8 9 10 |
# File 'lib/roastbeef/scms/bzr_package.rb', line 8 def update system "cd #{path} && bzr pull" end |