summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-07-09 13:51:28 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-07-09 13:51:28 -0700
commitaa2afb68a78fed7a71a6d574586202a0377eba25 (patch)
tree38a1750ae150495501cfb39ade622be3822fabe3 /Rakefile
parent457842ff8567742d94cb079f439c38403a15d8b8 (diff)
downloadffi-yajl-aa2afb68a78fed7a71a6d574586202a0377eba25.tar.gz
yet more copslcg/more-cops
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Rakefile b/Rakefile
index e70a915..983f049 100644
--- a/Rakefile
+++ b/Rakefile
@@ -11,7 +11,7 @@ Dir[File.expand_path("../*gemspec", __FILE__)].reverse_each do |gemspec_path|
end
desc "Build it and ship it"
-task :ship => [:clean, :gem] do
+task ship: [:clean, :gem] do
sh("git tag #{FFI_Yajl::VERSION}")
sh("git push --tags")
Dir[File.expand_path("../pkg/*.gem", __FILE__)].reverse_each do |built_gem|
@@ -27,7 +27,7 @@ task :clean do
end
desc "install the gem locally"
-task :install => [:package] do
+task install: [:package] do
if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
sh %{gem install pkg/#{unix_gemspec.name}-#{unix_gemspec.version}-universal-java.gem}
else
@@ -162,12 +162,12 @@ else
end
desc 'Run all style checks'
-task :style => ['style:rubocop', 'style:reek']
+task style: ['style:rubocop', 'style:reek']
desc 'Run style + spec tests by default on travis'
-task :travis => %w{style spec}
+task travis: %w{style spec}
desc 'Run style, spec and test kichen on travis'
-task :travis_all => ['style', 'spec', 'integration:cloud']
+task travis_all: ['style', 'spec', 'integration:cloud']
-task :default => ['style', 'spec', 'integration:vagrant']
+task default: ['style', 'spec', 'integration:vagrant']