Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Update rake tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
kossnocorp committed Nov 28, 2012
1 parent 1b92394 commit 95b09d7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ require 'talks'

$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'jquery-turbolinks/version'
namespace :gem do
task :build do

namespace :release do
task :build_gem do
system 'gem build jquery-turbolinks.gemspec'
end

task release: :build do
task gem: :build_gem do
system "gem push jquery-turbolinks-#{JqueryTurbolinks::VERSION}.gem"
end

task :npm do
system 'npm publish'
end

task all: [:gem, :npm]
end

namespace :js do
Expand Down

0 comments on commit 95b09d7

Please sign in to comment.