File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666namespace :fs do
6767 desc "[internal] Install some symlinks to share files between deploys."
6868 task :symlink , roles : :app , except : { no_release : true } do
69- symlinks = %w( config/database.yml config/secrets.yml node_modules public/pages tmp/sass-cache tmp/sockets uploads )
69+ symlinks = %w( config/database.yml config/secrets.yml public/pages tmp/sass-cache tmp/sockets uploads )
7070 symlinks . each do |symlink |
7171 run "ln -nfs #{ shared_path } /#{ symlink } #{ release_path } /#{ symlink } "
7272 end
7777 desc "[internal] Create the shared directories"
7878 task :create_dirs , roles : :app do
7979 run "mkdir -p #{ shared_path } /config"
80- run "mkdir -p #{ shared_path } /node_modules"
8180 run "mkdir -p #{ shared_path } /public/pages"
8281 run "mkdir -p #{ shared_path } /tmp/sass-cache"
8382 run "mkdir -p #{ shared_path } /tmp/sockets"
Original file line number Diff line number Diff line change 55
66# Add additional assets to the asset load path.
77# Rails.application.config.assets.paths << Emoji.images_path
8- Rails . application . config . assets . paths << Rails . root . join ( "node_modules" )
98
109# SVG images
1110Rails . application . config . assets . precompile += %w[ feather-icons/dist/icons/arrow-left.svg ]
You can’t perform that action at this time.
0 commit comments