Skip to content

Instantly share code, notes, and snippets.

@chewbranca
Created July 16, 2010 01:12
Show Gist options
  • Save chewbranca/477786 to your computer and use it in GitHub Desktop.
Save chewbranca/477786 to your computer and use it in GitHub Desktop.
set (:stages) { Dir.glob(File.join(File.dirname(__FILE__), "deploy", "*.rb")).map {|s| File.basename(s, ".rb") }.select {|s| not s =~ /sample/} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment