Class: RoastBeef::CvsPackage
- Defined in:
- lib/roastbeef/scms/cvs_package.rb
Instance Attribute Summary
Attributes inherited from Package
#author, #build, #description, #name, #prereqs, #remove, #repository, #url
Instance Method Summary collapse
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
3 4 5 |
# File 'lib/roastbeef/scms/cvs_package.rb', line 3 def checkout system "cd #{SRC_DIR} && cvs -z3 -d:#{repository} co #{name}" end |
#update ⇒ Object
7 8 9 |
# File 'lib/roastbeef/scms/cvs_package.rb', line 7 def update system "cd #{path} && cvs up" end |