Permalink
Browse files

Allow stages to be not_windows!

This causes the capistrano-windows-server mods not to load for that stage.
  • Loading branch information...
1 parent e8e400f commit 68cd4c8f677b5fac879a67fb00c81bbc7e03d5e6 @nilbus nilbus committed Nov 9, 2012
Showing with 259 additions and 215 deletions.
  1. +12 −1 README.md
  2. +226 −214 lib/capistrano/ext/windows_server.rb
  3. +21 −0 lib/capistrano/ext/windows_server/target_system_check.rb
View
@@ -211,6 +211,17 @@ The following tasks were removed:
* `cap deploy:symlink`
+Deploying to both Windows and Linux servers
+-------------------------------------------
+
+If you use capistrano/ext/multistage, you can specify that some stages are not Windows servers.
+
+In your stage configuration file (eg: config/deploy/linux_target.rb) call the method
+
+ not_windows!
+
+This will prevent capistrano from loading capistrano-windows-server when deploying to that stage.
+
Contributing to capistrano-windows-server
-----------------------------------------
@@ -227,4 +238,4 @@ We would love if you contribute back changes that you make to make it work for y
Copyright
---------
-Copyright (c) 2011 SciMed Solutions, Inc. See LICENSE.txt for further details.
+Copyright (c) 2011-2012 SciMed Solutions, Inc. See LICENSE.txt for further details.
Oops, something went wrong.

0 comments on commit 68cd4c8

Please sign in to comment.