From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- buildscripts/index/build.php | 130 +++++++++++++++++++++---------------------- 1 file changed, 65 insertions(+), 65 deletions(-) (limited to 'buildscripts/index/build.php') diff --git a/buildscripts/index/build.php b/buildscripts/index/build.php index c02f94ae..bbe151e6 100644 --- a/buildscripts/index/build.php +++ b/buildscripts/index/build.php @@ -1,65 +1,65 @@ -create_index(); - } - else if(strtolower($argv[1]) == "api") - { - $api = new api_index($api_target, $api_source); - $api->create_index(); - } - else - { - $q = new Zend_Search_Lucene($quickstart_target); - $query = $argv[1]; - $hits = $q->find(strtolower($query)); - echo "Found ".count($hits)." for ".$query." in quick start\n"; - foreach($hits as $hit) - echo " ".$hit->title."\n"; - - $a = new Zend_Search_Lucene($api_target); - $query = $argv[1]; - $hits = $a->find(strtolower($query)); - echo "\nFound ".count($hits)." for ".$query." in API\n"; - foreach($hits as $hit) - { - echo " ".$hit->link."\n"; - } - } -} -else -{ - echo "Usage: 'php build.php quickstart' or 'php build.php api'\n"; -} - -?> +create_index(); + } + else if(strtolower($argv[1]) == "api") + { + $api = new api_index($api_target, $api_source); + $api->create_index(); + } + else + { + $q = new Zend_Search_Lucene($quickstart_target); + $query = $argv[1]; + $hits = $q->find(strtolower($query)); + echo "Found ".count($hits)." for ".$query." in quick start\n"; + foreach($hits as $hit) + echo " ".$hit->title."\n"; + + $a = new Zend_Search_Lucene($api_target); + $query = $argv[1]; + $hits = $a->find(strtolower($query)); + echo "\nFound ".count($hits)." for ".$query." in API\n"; + foreach($hits as $hit) + { + echo " ".$hit->link."\n"; + } + } +} +else +{ + echo "Usage: 'php build.php quickstart' or 'php build.php api'\n"; +} + +?> -- cgit v1.2.3