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

Commit

Permalink
update gem tasks + Gemfile.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
lamont-granquist committed Aug 3, 2016
1 parent bba50d0 commit 73e6297
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ GIT
PATH
remote: .
specs:
berkshelf-api (2.1.3)
berkshelf-api (2.2.0)
activesupport (~> 4.0)
archive (= 0.0.6)
buff-config (~> 1.0)
Expand Down
8 changes: 4 additions & 4 deletions tasks/build_gem.rb
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
require 'thor'
require "bundler/gem_tasks"

class BuildGem < Thor
require 'thor/rake_compat'
namespace "gem"

include Thor::RakeCompat
Bundler::GemHelper.install_tasks

desc "build", "Build berkshelf-api-#{Berkshelf::API::VERSION}.gem into the pkg directory"
def build
Rake::Task["build"].execute
Rake::Task["build"].invoke
end

desc "install", "Build and install berkshelf-api-#{Berkshelf::API::VERSION}.gem into system gems"
def install
Rake::Task["install"].execute
Rake::Task["install"].invoke
end

desc "release", "Create tag v#{Berkshelf::API::VERSION} and build and push berkshelf-api-#{Berkshelf::API::VERSION}.gem to Rubygems"
def release
Rake::Task["release"].execute
Rake::Task["release"].invoke
end

class Spec < Thor
Expand Down

0 comments on commit 73e6297

Please sign in to comment.