lib/negroku/tasks/base.rb in negroku-0.0.5 vs lib/negroku/tasks/base.rb in negroku-0.0.6

- old
+ new

@@ -15,27 +15,21 @@ after "deploy:update_code", "deploy:post" desc "Performs the post-deploy tasks." task :post do symlinks migrate - assets end desc "Performs an Active Record migration." task :migrate do run "cd '#{release_path}' && #{env} rake db:migrate" end - desc "Precompiles assets from Rails' asset pipeline." - task :assets do - run "cd '#{release_path}' && #{env} rake assets:precompile" - end - desc "Sets up additional symlinks after deploy." task :symlinks do # Exmaple: - run "ln -nfs '#{shared_path}/.rbenv-vars' '#{release_path}/.rbenv-vars'" + # run "ln -nfs '#{shared_path}/yourfile' '#{release_path}/yourfile'" end after "deploy:setup", "deploy:setup_shared" desc "Sets up additional folders/files after deploy:setup." task :setup_shared do @@ -46,6 +40,6 @@ task :restart do # Example: # restart_torquebox_app # restart_upstart_app end -end \ No newline at end of file +end