-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathRakefile
More file actions
35 lines (26 loc) · 758 Bytes
/
Rakefile
File metadata and controls
35 lines (26 loc) · 758 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
31
32
33
34
35
#!/usr/bin/env rake
require "bundler/gem_helper"
namespace "dotenv-vault" do
Bundler::GemHelper.install_tasks name: "dotenv-vault"
end
class DotenvVaultRailsGemHelper < Bundler::GemHelper
def guard_already_tagged
# noop
end
def tag_version
# noop
end
end
namespace "dotenv-vault-rails" do
DotenvVaultRailsGemHelper.install_tasks name: "dotenv-vault-rails"
end
task build: ["dotenv-vault:build", "dotenv-vault-rails:build"]
task install: ["dotenv-vault:install", "dotenv-vault-rails:install"]
task release: ["dotenv-vault:release", "dotenv-vault-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