17 lines
329 B
Ruby
17 lines
329 B
Ruby
module Hbc
|
|
class Container
|
|
class SvnRepository < Base
|
|
def self.me?(criteria)
|
|
criteria.path.join(".svn").directory?
|
|
end
|
|
|
|
def extract
|
|
path = @path
|
|
unpack_dir = @cask.staged_path
|
|
|
|
@command.run!("svn", args: ["export", "--force", path, unpack_dir])
|
|
end
|
|
end
|
|
end
|
|
end
|