Skip to content

Commit

Permalink
Merge pull request #361 from alleyinteractive/rsync-delete
Browse files Browse the repository at this point in the history
Delete files not in source
  • Loading branch information
srtfisher authored Jan 6, 2023
2 parents 6a53a5c + f0a9f9e commit e664307
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 11 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## v0.10.0 - 2023-01-06

Improvements to database factories: adds `with_meta()` to all supported types, adds `with_posts()` to term factory.
- Improvements to database factories: adds `with_meta()` to all supported types, adds `with_posts()` to term factory.
- Upgrading to Symfony 6 and Illuminate/View 9
- Allow `Mantle\Testing\Mock_Http_Response` to be converted to `Mantle\Http_Client\Response`
- Support streamed HTTP responses in the client and fake.
- Add `maybe_rsync_content` during testing.
- Add `--delete` when rsyncing content during testing.
- Work to make Mantle a bit more isolated.

## 0.9.1 - 2022-11-22
## v0.9.1 - 2022-11-22

- Fix for testing installation.

## 0.9.0 - 2022-11-16
## v0.9.0 - 2022-11-16

- Allow more flexible control over incorrect usage and deprecations
- Add support for rsync-ing a codebase from within the testing suite
Expand All @@ -24,7 +30,7 @@ Improvements to database factories: adds `with_meta()` to all supported types, a
- Display trace for incorrect usage/deprecation notices
- Authentication assertions and tests

## 0.8.0 - 2022-10-25
## v0.8.0 - 2022-10-25

- **Fix:** Set default to string incase of missing location.
- Adding assertions for element missing/existing.
Expand Down
1 change: 1 addition & 0 deletions src/mantle/testing/concerns/trait-rsync-installation.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ protected function perform_rsync_testsuite() {
[
'rsync -aWq',
'--no-compress',
'--delete',
'--exclude .npm',
'--exclude .git',
'--exclude node_modules',
Expand Down

0 comments on commit e664307

Please sign in to comment.