Class: Util::Gulp
- Inherits:
-
Object
- Object
- Util::Gulp
- Defined in:
- lib/utilities/utils.rb
Overview
-
GULP ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Instance Method Summary collapse
Instance Method Details
#task(task, path, stream) ⇒ Object
245 246 247 248 249 250 251 252 253 254 255 256 257 258 |
# File 'lib/utilities/utils.rb', line 245 def task(task, path, stream) gulp = Util::Gulp.new() msg = Util::Message.new() gulp_path = File.('~/.konstruct/gulp') FileUtils.cd(gulp_path) do exec "gulp #{task} --path #{path} --stream #{stream}" end end |