Skip to content

Commit

Permalink
Updated dev instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Apr 19, 2024
1 parent 83557b9 commit bd2f143
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,37 @@ cd consumer
composer create-project --prefer-dist drevops/scaffold="@dev" --repository '{"type": "path", "url": "../scaffold", "options": {"symlink": false}}' t1
```

## Maintenance

## Maintenance

composer install
composer lint
composer test


### Debugging

Run once:
```bash
cd scaffold
composer install

export COMPOSER_ALLOW_XDEBUG=1
export COMPOSER_DEBUG_EVENTS=1
export DREVOPS_SCAFFOLD_VERSION=@dev

cd ../consumer
```

Run as needed (from `consumer`):
```bash
# No-install
rm -Rf t1 >/dev/null && php ../scaffold/vendor/composer/composer/bin/composer create-project --prefer-dist drevops/scaffold="@dev" --repository '{"type": "path", "url": "../scaffold", "options": {"symlink": false}}' --no-install t1
```

or

```bash
# Full
rm -Rf t1 >/dev/null && php ../scaffold/vendor/composer/composer/bin/composer create-project --prefer-dist drevops/scaffold="@dev" --repository '{"type": "path", "url": "../scaffold", "options": {"symlink": false}}' t1
```

0 comments on commit bd2f143

Please sign in to comment.