Class: Util::Gulp

Inherits:
Object
  • Object
show all
Defined in:
lib/utilities/gulp.rb

Overview

A.1. GIT COMMANDS ———————————————————————————————–

Instance Method Summary collapse

Instance Method Details

#default(path) ⇒ Object

A.1.1. GULP DEFAULT



19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/utilities/gulp.rb', line 19

def default(path)
    
    gulp = Util::Gulp.new()
    msg = Util::Message.new()
    
    gulp_path = File.expand_path('~/.konstruct/gulp')
    
    FileUtils.cd(gulp_path) do
            
        exec "gulp --path #{path}"

    end
    
end