smagBootstrapPlugin - 1.1.0

bootstraps a symfony project with tasks

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

smagBootstrapPlugin

Installation

pear : symfony plugin:install smagBootstrapPlugin

svn : svn co https://svn.spot-media.de/subversion/symfony-plugins/smagBootstrapPlugin/tags/1.1.0 smagBootstrapPlugin

activate the plugin in your ProjectConfiguration

Configuration

call the Task with:

symfony project:bootstrap

this will look for a bootstrap.yml in your config directory.

Here are the options for this Task:

   --config  (-c) config file to parse (default: config/bootstrap.yml)
   --list    (-l) list tasks to execute (default: 0)

the bootstrap.yml may look like:

#the ordered symfony tasks to execute 
tasks:
  - 'project:permissions --foo=%SF_WEB_DIR%'
  - 'cc --foo bar bazz'
  - 'plugin:publish-assets'

That's it! All your Setup Tasks in one line.

TODO

  • more code coverage
  • implement shell commands

presented by spot-media AG