forked from bkeepers/dotenv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
34 lines (24 loc) · 746 Bytes
/
Rakefile
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
31
32
33
34
#!/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
require "rubocop/rake_task"
RuboCop::RakeTask.new
task default: [:spec, :rubocop]