Skip to content

Commit

Permalink
Removed SCM classes
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed May 30, 2009
1 parent fe30765 commit 98e5d1e
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 421 deletions.
18 changes: 1 addition & 17 deletions Rudyfile
Expand Up @@ -167,7 +167,6 @@ routines do
end
end


anything do # $ rudy anything
before :display_uptime # Specify a dependency
script :rudy do # This is Ruby, so any valid syntax
Expand All @@ -177,22 +176,7 @@ routines do

uptime do # $ rudy uptime
script :rudy do
uptime
end
end

tag do
before_local do |option, argv|
msg, suffix = option.message, argv.shift
msg ||= 'Another release by Rudy'
suffix ||= git 'rev-parse', '--short', 'HEAD'
@tagname = Time.now.strftime("%Y-%m-%d-#{user}-#{suffix}")
git 'tag', :a, @tagname, :m, msg
end
after_local do
# The instance variable set in the previous local block is
# available here, but not in remote blocks (and vice versa)
echo "Created tag: #{@tagname}"
uptime
end
end

Expand Down
1 change: 0 additions & 1 deletion lib/rudy.rb
Expand Up @@ -163,6 +163,5 @@ def message; "Private key file #{@obj} not found."; end
require 'rudy/metadata' # important
require 'rudy/machines'
require 'rudy/routines'
require 'rudy/scm'


75 changes: 0 additions & 75 deletions lib/rudy/scm.rb

This file was deleted.

217 changes: 0 additions & 217 deletions lib/rudy/scm/git.rb

This file was deleted.

0 comments on commit 98e5d1e

Please sign in to comment.