aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 373053d..4ba6181 100644
--- a/Rakefile
+++ b/Rakefile
@@ -88,7 +88,7 @@ desc "Updates the list of required configuration options for this version of LEA
task 'update-requirements' do
Dir.chdir($base_dir) do
required_configs = `find -name '*.rb' | xargs grep -R 'assert_config!'`.split("\n").collect{|line|
- if line =~ /def/
+ if line =~ /def/ || line =~ /pre\.rb/
nil
else
line.sub(/.*assert_config! ["'](.*?)["'].*/,'"\1"')