Skip to content

A simple Makefile for symfony projects

License

Notifications You must be signed in to change notification settings

duboiss/SymMakefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

SymMakefile

SymMakefile is a simple Makefile for symfony developers.

You can use it in your symfony projects for automate some tasks during your development.

More info about Makefile.

Examples

  • make lint : run all linters (twig, xliff, yaml and service container)
  • make purge : delete cache and logs
  • make start : install project (including dependencies and database), load fixtures and launch web server

Prerequisites

Symfony binary : you can do without it if you remove the associated commands from the Makefile.

Help command requires unix tools (grep, sed...) to be installed.

Windows users

You need to install Make for Windows and add it in your path.

For unix tools, if you use git, select "Use Git and optional Unix tools from the Command prompt" during its installation.

Installation

Just copy the Makefile file at the root of your symfony project.

Usage

Display all available commands:

$ make help

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Alternatives

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A simple Makefile for symfony projects

Topics

Resources

License

Stars

Watchers

Forks