Skip to content

Collection of useful makefiles and commands, with Docker, Symfony, PHP, Composer, Angular, Node, ...

License

Notifications You must be signed in to change notification settings

jprivet-dev/makefiles

Repository files navigation

Makefiles

Presentation

Collection of useful makefiles and commands, with Docker, Symfony, PHP, Composer, Angular, Node, ...

Installation

  1. Clone the project:
git clone git@github.com:jprivet-dev/makefiles.git
cd makefiles
  1. And choose one of the use cases. For example:
cd php-local-compose-v1-v2
make # print help

php-docker-help.png

Cheat sheet

Structure

# Comments are preceded by the hash symbol
.PHONY: target
target: dependencies
    command_1
    command_2
    ...
    command_n

Technical choices

snack_case vs kebab-case

I prefer to use the snack_case format for Makefile commands, as it's easier to select an entire command with a double-click (IDE, text editor, terminal, ...), unlike the kebab-case format.

.PHONY: my_target_a
my_target_a: dependencies
.PHONY: my-target-a
my-target-a: dependencies

Resources

Comments, suggestions?

Feel free to make comments/suggestions to me in the Git issues section.

License

This project is released under the MIT License.

About

Collection of useful makefiles and commands, with Docker, Symfony, PHP, Composer, Angular, Node, ...

Topics

Resources

License

Stars

Watchers

Forks

Languages