Class: Util::Gulp
- Inherits:
-
Object
- Object
- Util::Gulp
- Defined in:
- lib/utilities/gulp.rb
Overview
1.1. GIT COMMANDS ——————————————————–
Instance Method Summary collapse
Instance Method Details
#task(task, path, stream) ⇒ Object
1.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 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 |