Permalink
Browse files

Fixed hoe plugin to overwrite generated files

  • Loading branch information...
drbrain committed Mar 7, 2012
1 parent e5c1d00 commit 50e051feaf7f14791735dc8365f96c05df194df2
Showing with 11 additions and 5 deletions.
  1. +5 −0 History.txt
  2. +6 −5 lib/hoe/kpeg.rb
View
@@ -1,3 +1,8 @@
+=== 1.0.1
+
+* Bug fixes
+ * Hoe plugin now overwrites generated files
+
=== 1.0 / 2012-04-06
* Minor enhancements
View
@@ -10,18 +10,18 @@
# license:
#
# Copyright (c) Ryan Davis, seattle.rb
-#
+#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
-#
+#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
-#
+#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
@@ -55,9 +55,10 @@ module Hoe::Kpeg
def initialize_kpeg
self.kpeg_tasks = [:multi, :test, :check_manifest]
- # -v = verbose
+ # -f = overwrite existing file
# -s = parser does not require runtime
- self.kpeg_flags ||= "-s -v"
+ # -v = verbose
+ self.kpeg_flags ||= "-s -v -f"
dependency 'kpeg', '~> 0.9', :development
end

0 comments on commit 50e051f

Please sign in to comment.