yoanbernabeu/Symfony-And-Docker-Makefile-Taskfile
Symfony And Docker Makefile + Taskfile
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.
1. Table of Contents
-
- 2.1. Requirements
- 2.2. Installation
- 2.3. Usage/Examples
-
- 3.1. Requirements
- 3.2. Installation
- 3.3. Usage/Examples
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
makeon your computer. -
You can check if
makeis available with the command:
make -v2.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/Makefile2.3. Usage/Examples
To get help from the file, just run the command:
make helpThen 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
taskon your computer. -
You can check if
taskis available with the command:
task --version3.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.yaml3.3. Usage/Examples
To get help from the file, just run the command:
task helpThen choose your "target" and have fun with it:
task [target]