Compare commits
2 Commits
d6fc0d4691
...
83d95e3ef9
Author | SHA1 | Date | |
---|---|---|---|
83d95e3ef9 | |||
686887825d |
8
Makefile
8
Makefile
|
@ -1,5 +1,11 @@
|
|||
composer := docker-compose run --rm composer-package-testing composer -d app
|
||||
|
||||
install:
|
||||
@$(composer) install
|
||||
|
||||
prune:
|
||||
@docker-compose rm -fsv
|
||||
|
||||
code-style-fix:
|
||||
@$(composer) code-style-fix
|
||||
|
||||
|
@ -13,4 +19,4 @@ run-unit-tests:
|
|||
@$(composer) run-unit-tests
|
||||
|
||||
full-test:
|
||||
@$(composer) full-test
|
||||
@$(composer) full-test
|
||||
|
|
18
README.md
18
README.md
|
@ -1,8 +1,20 @@
|
|||
Composer package template
|
||||
-------------------------
|
||||
=========================
|
||||
|
||||
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
|
||||
```bash
|
||||
make code-style-fix
|
||||
|
@ -26,4 +38,8 @@ make run-unit-tests
|
|||
### Run full test
|
||||
```bash
|
||||
make full-test
|
||||
```
|
||||
### Remove all docker data
|
||||
```bash
|
||||
make prune
|
||||
```
|
Loading…
Reference in New Issue
Block a user