ga_example_gem 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +12 -0
- data/lib/ga_example_gem/version.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -1,8 +1,20 @@
|
|
1
|
+
# Gives me a few helper tasks:
|
2
|
+
|
3
|
+
# `rake build`
|
4
|
+
# is
|
5
|
+
# gem build ga-example-gem.gemspec
|
6
|
+
|
7
|
+
# `rake release`
|
8
|
+
# is, and also tags it in Github for us
|
9
|
+
# gem push ga-example-gem-0.0.3.gem
|
10
|
+
|
1
11
|
require 'bundler'
|
2
12
|
Bundler::GemHelper.install_tasks
|
3
13
|
|
14
|
+
# Pulls in equiv of 'rspec spec' to be 'rake spec'
|
4
15
|
require 'rspec/core/rake_task'
|
5
16
|
RSpec::Core::RakeTask.new(:spec)
|
6
17
|
|
18
|
+
# If you just run 'rake', it will run 'rake spec'
|
7
19
|
task test: :spec
|
8
20
|
task default: :spec
|