Skip to content

Instantly share code, notes, and snippets.

@feniix
Created January 16, 2015 04:00
Show Gist options
  • Save feniix/cd9e63df4d19828235b1 to your computer and use it in GitHub Desktop.
Save feniix/cd9e63df4d19828235b1 to your computer and use it in GitHub Desktop.
require 'rake/clean'
require 'rake/task'
desc 'run install bower'
task :npm_install_bower do
system('npm install bower')
end
desc 'run bower install'
task :bower_install do
system('bower install')
end
desc 'run app'
task :run_app do
Rake::Task['build_app'].execute
Dir.chdir('public') do
system('jekyll serve -w')
end
end
desc 'build app'
task :build_app => [
:npm_install_bower,
:bower_install,
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment