aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-11-15 00:19:33 -0800
committerelijah <elijah@riseup.net>2012-11-15 00:19:33 -0800
commit852d05a9e7453968f1f4cf8feaec8b2da0506861 (patch)
treed1b4cbd3aec8646eb5e2f253cc577d067ed86bc5
parent41ff80b4aeb20b762e5f64ebb2508496be8f04ba (diff)
downloadleap_cli-852d05a9e7453968f1f4cf8feaec8b2da0506861.tar.gz
leap_cli-852d05a9e7453968f1f4cf8feaec8b2da0506861.tar.bz2
fixed rake task update-requirements
-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"')