_docker/control.rb
def build_css_and_js_for_drupal
  puts '- Building CSS and JS for Drupal...'

  run_npm_command('npm install',"Failed to run 'npm install'. Do you have npm installed?")
  run_npm_command('$(npm bin)/gulp', 'Failed to run Gulp to build CSS and JS for Drupal')

  puts '- Successfully built CSS and JS for Drupal'
end
#
# Delegates out to Gulp to build the CSS and JS for Drupal
#
Delegates out to Gulp to build the CSS and JS for Drupal
Delegates out to Gulp to build the CSS and JS for Drupal
def build_css_and_js_for_drupal
  puts '- Building CSS and JS for Drupal...'
  run_npm_command('npm install',"Failed to run 'npm install'. Do you have npm installed?")
  run_npm_command('$(npm bin)/gulp', 'Failed to run Gulp to build CSS and JS for Drupal')
  puts '- Successfully built CSS and JS for Drupal'
end
def build_css_and_js_for_drupal puts '- Building CSS and JS for Drupal...' run_npm_command ( 'npm install' , "Failed to run 'npm install'. Do you have npm installed?" ) run_npm_command ( '$(npm bin)/gulp' , 'Failed to run Gulp to build CSS and JS for Drupal' ) puts '- Successfully built CSS and JS for Drupal' end
Delegates out to Gulp to build the CSS and JS for Drupal
Delegates out to Gulp to build the CSS and JS for Drupal