Permalink
Browse files

refresh

  • Loading branch information...
1 parent a978d92 commit 282bdadda5baa608fe8ae33e9244def6a7137430 @darwin committed Mar 24, 2009
View
@@ -18,16 +18,16 @@ NIX = !(OSX || WIN)
require "rubygems"
begin
- require 'pbdev'
+ require 'hpdev'
rescue LoadError
begin
- $: << "/Users/darwin/code/pbdev/lib"
- require 'pbdev'
+ $: << "/Users/darwin/code/hpdev/lib"
+ require 'hpdev'
rescue LoadError
- raise 'Please install pbdev: sudo gem install hashpage-pbdev --source http://gems.github.com'
+ raise 'Please install hpdev: sudo gem install hashpage-hpdev --source http://gems.github.com'
end
end
-include PBDev
+include HPDev
# http://kpumuk.info/ruby-on-rails/colorizing-console-ruby-script-output/
begin
@@ -121,7 +121,7 @@ def bake(type, path, dest, url, mode)
die "DEPLOY dir is too short (paranoia)" if dest.size<10
sys("rm -rf \"#{dest}\"")
return unless File.exists? path
- sys("pbdev bake #{type.to_s} --mode=\"#{mode}\" --url=\"#{url}\" \"#{relativize_path(path)}\" \"#{relativize_path(dest)}\" 1>&2")
+ sys("hpdev bake #{type.to_s} --mode=\"#{mode}\" --url=\"#{url}\" \"#{relativize_path(path)}\" \"#{relativize_path(dest)}\" 1>&2")
die("Baking error ...") if $?.exitstatus!=0
$bake_counters[type][:total] += 1
end
@@ -259,7 +259,7 @@ end
#----------------------------------------------------------------------------
desc "start dev server"
task :start do
- sys("pbdev 1>&2")
+ sys("hpdev 1>&2")
end
#----------------------------------------------------------------------------
Submodule blank updated from 0e1e7d to 379f28
Submodule start updated from ba163f to 52ed7c
Submodule badge updated from d83f3f to 71e690
Submodule bio updated from 9a35ba to 7aead6
Submodule blog updated from 9ef584 to cb85cc
Submodule tabs updated from db5f33 to a64cd2

0 comments on commit 282bdad

Please sign in to comment.