forked from alphagov/finder-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
19 lines (15 loc) · 816 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path("config/application", __dir__)
if Rails.env.development? && ENV["LIVE"]
puts "Pointing application at live dependencies..."
ENV["GOVUK_APP_DOMAIN"] = "www.gov.uk"
ENV["GOVUK_WEBSITE_ROOT"] = "https://www.gov.uk"
ENV["PLEK_SERVICE_SEARCH_URI"] = "https://www.gov.uk/api"
ENV["PLEK_SERVICE_CONTENT_STORE_URI"] = "https://www.gov.uk/api"
ENV["PLEK_SERVICE_STATIC_URI"] = "assets.publishing.service.gov.uk"
ENV["PLEK_SERVICE_WHITEHALL_FRONTEND_URI"] = "https://www.gov.uk"
end
Rails.application.load_tasks
Rake::Task[:default].clear if Rake::Task.task_defined?(:default)
task default: %i[lint spec cucumber jasmine:ci]