Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status Code Coverage

Mongrate Bundle

A Symfony bundle for Mongrate.

Installation and Use

Please see the documentation on mongrate.com.

Contributing

Please submit pull requests on GitHub:

Install PHP-CS-Fixer:

sudo curl http://get.sensiolabs.org/php-cs-fixer.phar -o /usr/local/bin/php-cs-fixer

Install the Git pre-commit hook:

ln -s ../../resources/pre-commit .git/hooks/pre-commit
chmod a+x .git/hooks/pre-commit

To run the tests:

bin/test

Test apps for different Symfony versions

In the test-app directory, there is an app with several composer.json files, one per Symfony version (currently 2.5, 2.8, 3.0 and 3.1). To install the test-app dependencies, run test-app/bin/composer-install. You can then test Mongrate bundle commands like this:

SYMFONY_VERSION=3.1 test-app/bin/run-command mongrate:list-migrations
SYMFONY_VERSION=2.5 test-app/bin/run-command mongrate:up-all
You can’t perform that action at this time.