This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ $# -ne 2 ]; then | |
| echo "Usage: $0 <source_file_or_dir> <destination_file_or_dir>" | |
| exit 1 | |
| fi | |
| if ! command -v trucker &> /dev/null; then | |
| echo "Trucker is not installed. Please run 'npm install -g trucker' first." | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| textReset=$(tput sgr0) | |
| textRed=$(tput setaf 1) | |
| textYellow=$(tput setaf 3) | |
| textGreen=$(tput setaf 2) | |
| message_info () { | |
| echo "$textGreen[deploy]$textReset $1" | |
| } | |
| message_error () { | |
| echo "$textRed[project]$textReset $1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Projection Rebuilder | |
| * @author Markus Muschol <markus.muschol@gmx.de> | |
| */ | |
| use Broadway\Domain\DateTime; | |
| use Broadway\Domain\DomainEventStream; | |
| use Broadway\Domain\DomainMessage; | |
| use Broadway\Domain\Metadata; | |
| use Broadway\EventHandling\EventBusInterface; |