# frozen_string_literal: true

lock '3.8.1'

set :application, 'bojangles'
set :repo_url, 'git@github.com:umts/bojangles.git'
set :branch, :master
set :deploy_to, "/srv/#{fetch :application}"
set :keep_releases, 5

set :whenever_command, %i[sudo bundle exec whenever]

set :linked_files, fetch(:linked_files, []).push(
  'cached_departures.json',
  'config.json',
  'route_mappings.json'
)

set :linked_dirs, fetch(:linked_dirs, []).push(
  'gtfs',
  'log'
)

# frozen_string_literal: true

lock '3.8.1'

set :application, 'bojangles'
set :repo_url, 'git@github.com:umts/bojangles.git'
set :branch, :master
set :deploy_to, "/srv/#{fetch :application}"
set :keep_releases, 5

set :whenever_command, %i[sudo bundle exec whenever]

set :linked_files, fetch(:linked_files, []).push(
  'cached_departures.json',
  'cached_stops.json',
  'error_messages.json',
  'config.json',
  'route_mappings.json'
)

set :linked_dirs, fetch(:linked_dirs, []).push(
  'gtfs',
  'log'
)

Add cached stops and error messages to shared files
Add cached stops and error messages to shared files
