Skip to content

yoanbernabeu/Symfony-And-Docker-Makefile-Taskfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony And Docker Makefile + Taskfile

A Makefile and Taskfile to improve the DX of your Symfony projects!

You will find a collection of everyday useful commands in a Symfony project.

Feel free to modify it for your projects.

Symfony And Docker Makefile + Taskfile

1. Table of Contents

2. Makefile

2.1. Requirements

This file was created to be used in a Linux environment, some commands should be adapted to your operating system.

  • You must have make on your computer.

  • You can check if make is available with the command:

make -v

2.2. Installation

You just need to add the file Makefile to the root of your Symfony project

wget https://raw.githubusercontent.com/yoanbernabeu/Symfony-And-Docker-Makefile-Taskfile/main/Makefile

2.3. Usage/Examples

To get help from the file, just run the command:

make help

Then choose your "target" and have fun with it:

make [target]

3. Taskfile

3.1. Requirements

This file was created to be used in a Linux environment, some commands should be adapted to your operating system.

  • You must have task on your computer.

  • You can check if task is available with the command:

task --version

3.2. Installation

You just need to add the file Taskfile.yaml to the root of your Symfony project

wget https://raw.githubusercontent.com/yoanbernabeu/Symfony-And-Docker-Makefile-Taskfile/main/Taskfile.yaml

3.3. Usage/Examples

To get help from the file, just run the command:

task help

Then choose your "target" and have fun with it:

task [target]

4. License

MIT