forked from bkeepers/dotenv
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
30 lines (22 loc) · 700 Bytes
/
Rakefile
File metadata and controls
30 lines (22 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env rake
require 'bundler/gem_helper'
namespace 'dotenv' do
Bundler::GemHelper.install_tasks :name => 'dotenv'
end
namespace 'dotenv-rails' do
class DotenvRailsGemHelper < Bundler::GemHelper
def guard_already_tagged; end # noop
def tag_version; end # noop
end
DotenvRailsGemHelper.install_tasks :name => 'dotenv-rails'
end
task :build => ["dotenv:build", 'dotenv-rails:build']
task :install => ["dotenv:install", 'dotenv-rails:install']
task :release => ["dotenv:release", 'dotenv-rails:release']
require 'rspec/core/rake_task'
desc "Run all specs"
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = %w[--color]
t.verbose = false
end
task :default => :spec