Created
January 16, 2015 04:00
-
-
Save feniix/cd9e63df4d19828235b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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