Author: COil
Date: 2010-09-07 15:04:09 +0200 (Tue, 07 Sep 2010)
New Revision: 30845

Modified:
   plugins/sfProjectAnalyserPlugin/README
Log:
[sfProjectAnalyserPlugin]
* Added example for the plugin activation
* Fixed road map and README

Modified: plugins/sfProjectAnalyserPlugin/README
===================================================================
--- plugins/sfProjectAnalyserPlugin/README      2010-09-07 08:51:18 UTC (rev 
30844)
+++ plugins/sfProjectAnalyserPlugin/README      2010-09-07 13:04:09 UTC (rev 
30845)
@@ -39,22 +39,40 @@
 
  * Install the plugin
 
-        $ symfony plugin:install sfProjectAnalyserPlugin
+        $ ./symfony plugin:install sfProjectAnalyserPlugin
 
     * You can also checkout the svn repository
       * [symfony 1.1.x, 1.2.x, 1.3.x, 
1.4.x](http://svn.symfony-project.com/plugins/sfProjectAnalyserPlugin/)
 
  * Clear you cache
 
-        $ symfony cc
+        $ ./symfony cc
 
+ * Enable the plugin for your project: (`/config/ProjectConfiguration.class`)
+
+        [php]
+        require_once 
dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
+        sfCoreAutoload::register();
+
+        class ProjectConfiguration extends sfProjectConfiguration
+        {
+          public function setup()
+          {
+            $this->enablePlugins(
+              'sfDoctrinePlugin',
+              'sfProjectAnalyserPlugin'
+              // ....
+            );
+          }
+        }
+
  * Publish the assets of the plugin to have the alerts logos
 
-        $ symfony plugin:publish-assets
+        $ ./symfony plugin:publish-assets
 
  * Run the analysis (using the default configuration)
 
-        $ php symfony project:analyse --application="frontend" --env="dev" > 
analysis.html
+        $ ./symfony project:analyse --application="frontend" --env="dev" > 
analysis.html
 
  * Then browse (locally) the generated html file "analysis.html"
 
@@ -109,6 +127,7 @@
 
 **1.0.0:**
 
+  * Return a system error code depending on the results of the analysis
   * When counting the number of custom classes, group by type for classes who
 extend sfForm, because it can be very big. Group when the count is beyond a 
threshold
 that will be in the config.

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to