Permalink
Browse files

remove vendor

  • Loading branch information...
1 parent b66397d commit 3f8634d1d3b78f21c9ec62db152b9d8a58a0f8e2 Dusty committed Aug 9, 2010
Showing with 16 additions and 3 deletions.
  1. +1 −1 basic_deploy.gemspec
  2. +15 −2 lib/basic_deploy.rb
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "basic_deploy"
- s.version = "0.0.3"
+ s.version = "0.0.4"
s.author = "Dusty Doris"
s.email = "github@dusty.name"
s.homepage = "http://code.dusty.name"
View
@@ -43,8 +43,8 @@ def _cset(name, *args, &block)
_cset :version_dir, "releases"
_cset :shared_dir, "shared"
- _cset :shared_dirs, %w(log tmp vendor config)
- _cset :shared_children, %w(log tmp vendor)
+ _cset :shared_dirs, %w(log tmp config)
+ _cset :shared_children, %w(log tmp)
_cset :current_dir, "current"
_cset(:releases_path) { File.join(deploy_to, version_dir) }
@@ -270,6 +270,19 @@ def try_runner(*args)
end
end
+ task :start, :roles => :app do
+ run "touch #{current_release}/tmp/restart.txt"
+ end
+
+ task :stop, :roles => :app do
+ # Do nothing.
+ end
+
+ desc "Restart Application"
+ task :restart, :roles => :app do
+ run "touch #{current_release}/tmp/restart.txt"
+ end
+
end
end # Capistrano::Configuration.instance(:must_exist).load do

0 comments on commit 3f8634d

Please sign in to comment.