Compare commits

...

2 Commits

Author SHA1 Message Date
83d95e3ef9
Management commands
All checks were successful
Run code tests / Run-code-test (push) Successful in 1m0s
2024-07-27 02:36:31 +03:00
686887825d
Update readme 2024-07-27 02:25:48 +03:00
2 changed files with 24 additions and 2 deletions

View File

@ -1,5 +1,11 @@
composer := docker-compose run --rm composer-package-testing composer -d app composer := docker-compose run --rm composer-package-testing composer -d app
install:
@$(composer) install
prune:
@docker-compose rm -fsv
code-style-fix: code-style-fix:
@$(composer) code-style-fix @$(composer) code-style-fix
@ -13,4 +19,4 @@ run-unit-tests:
@$(composer) run-unit-tests @$(composer) run-unit-tests
full-test: full-test:
@$(composer) full-test @$(composer) full-test

View File

@ -1,8 +1,20 @@
Composer package template Composer package template
------------------------- =========================
Template for composer packages with CI and a Docker image for local development. Template for composer packages with CI and a Docker image for local development.
Commands
--------
### Install dependencies
```bash
make install
```
### Сode style fixer
```bash
make code-style-fix
```
### Сode style fixer ### Сode style fixer
```bash ```bash
make code-style-fix make code-style-fix
@ -26,4 +38,8 @@ make run-unit-tests
### Run full test ### Run full test
```bash ```bash
make full-test make full-test
```
### Remove all docker data
```bash
make prune
``` ```