Class: Metaverse::Repo
Instance Method Summary collapse
- #deploy(feature) ⇒ Object
-
#initialize(path) ⇒ Repo
constructor
A new instance of Repo.
Methods included from Git
#branch, #checkout, #countDiffBranches, #currentBranch, #dirty?, #fetch, #load, #name, #pull, #reset, #status, #tag
Constructor Details
#initialize(path) ⇒ Repo
Returns a new instance of Repo.
7 8 9 |
# File 'lib/metaverse/repo.rb', line 7 def initialize path load path end |
Instance Method Details
#deploy(feature) ⇒ Object
11 12 13 14 15 |
# File 'lib/metaverse/repo.rb', line 11 def deploy feature Dir.chdir(@path) do puts `FEATURE_DOMAIN=#{feature} gulp deploy:testing` end end |