Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Thorfile

  • Loading branch information...
commit 76df1fe13604a0d782b5f78039cb04516a627cd4 1 parent 18c7115
@nicolaracco nicolaracco authored
Showing with 30 additions and 1 deletion.
  1. +0 −1  Rakefile
  2. +30 −0 Thorfile
View
1  Rakefile
@@ -1 +0,0 @@
-require "bundler/gem_tasks"
View
30 Thorfile
@@ -0,0 +1,30 @@
+# encoding: utf-8
+$:.unshift File.expand_path("../lib", __FILE__)
+
+require 'bundler'
+require 'thor/rake_compat'
+
+class Default < Thor
+ include Thor::RakeCompat
+ Bundler::GemHelper.install_tasks
+
+ desc "build", "Build akamai_api-#{AkamaiApi::VERSION}.gem into the pkg directory"
+ def build
+ Rake::Task["build"].execute
+ end
+
+ desc "install", "Build and install akamai_api-#{AkamaiApi::VERSION}.gem into system gems"
+ def install
+ Rake::Task["install"].execute
+ end
+
+ desc "release", "Create tag v#{AkamaiApi::VERSION} and build and push akamai_api-#{AkamaiApi::VERSION}.gem to Rubygems"
+ def release
+ Rake::Task["release"].execute
+ end
+
+ desc "spec", "Run RSpec code examples"
+ def spec
+ exec "rspec --color --format=documentation spec"
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.