summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2009-06-01 02:30:04 -0800
committerRyan Davis <ryand@zenspider.com>2009-06-01 02:30:04 -0800
commit3c0d06fea696a6639cf75e66afe28f37fc37abf4 (patch)
tree17b2467dc52a4b2e7de294a630cc3f7802f9cadd /bin
parente61fb39969dad52e1ca5ee67205991fdb76ef2cc (diff)
downloadhoe-3c0d06fea696a6639cf75e66afe28f37fc37abf4.tar.gz
! Added a plugin system and extracted nearly everything into separate plugins.
! Added Clean, Debug, Deps, Flay, Flog, Inline, Package, Publish, Rake, Rcov, Signing, and Test plugins + Filled in all the blanks on rdoc. + Added Hoe::spec replacing old Hoe.new spec form. Now with DSL flavors! + Deprecated Hoe.new spec form. + Refactored nearly all the spec logic down to much smaller/cleaner pieces. + Version number is now auto-searchable by grepping in all the files. + Added pluggable! to declare your package depends on rubygems 1.3.1+. + Added DEFAULT_CONFIG so plugins can add to it. + Updated templates to use new form. No clue how best to update yours. :P [git-p4: depot-paths = "//src/hoe/dev/": change = 4987]
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sow4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/sow b/bin/sow
index 65beca7..f12d577 100755
--- a/bin/sow
+++ b/bin/sow
@@ -67,11 +67,9 @@ if $d || $t then
FileUtils.mv temp_dir, "#{project}/#{$d ? 'dev' : 'trunk'}", :verbose => true
end
-WINDOZE = /mswin|mingw/ =~ RUBY_PLATFORM
-
puts
puts "... done, now go fix all occurrences of '#{XIF}':"
-if WINDOZE then
+if Hoe::WINDOZE then
puts `findstr /N /S /C:#{XIF} #{project}\\*`
else
puts `find #{project} -type f | xargs grep -n #{XIF}`.gsub(/\A|\n/, "\n ")