Skip to content

Commit afb5fb7

Browse files
authored
Add make target for package split (#63)
* Add make target for package split * Fix package replacements in main composer config * Remove test make target
1 parent d1cb808 commit afb5fb7

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PHP_VERSION ?= 7.4
2-
DC_RUN_PHP = docker-compose run --rm php
2+
DC_RUN = docker-compose run --rm
3+
DC_RUN_PHP = $(DC_RUN) php
34

45
all: update style packages-composer phan psalm phpstan test
56
install:
@@ -27,4 +28,6 @@ bash:
2728
$(DC_RUN_PHP) bash
2829
style:
2930
$(DC_RUN_PHP) env XDEBUG_MODE=off vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --using-cache=no -vvv
31+
split:
32+
docker-compose -f docker/gitsplit/docker-compose.yaml --env-file ./.env up
3033
FORCE:

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"php-http/message": "^1.12"
2020
},
2121
"replace": {
22-
"open-telemetry/otel-sdk-bundle": "self.version"
22+
"open-telemetry/contrib-sdk-bundle": "self.version",
23+
"open-telemetry/contrib-aws": "self.version"
2324
},
2425
"autoload": {
2526
"psr-4": {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: '3.7'
2+
services:
3+
gitsplit:
4+
image: jderusse/gitsplit
5+
volumes:
6+
- ../../:/srv
7+
- ../../var/cache/gitsplit:/cache/gitsplit
8+
environment:
9+
GH_TOKEN: ${GITSPLIT_TOKEN:-''}

0 commit comments

Comments
 (0)