Skip to content

Commit 6417a8a

Browse files
committed
Assert README.md content in codeValidation.sh, documentation
1 parent b15487b commit 6417a8a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

codeValidation.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ assertInitBenchmark
4545
source "$RESULT_TYPE_PATH/configurationValidation.sh"
4646
echoValidationGroupEnd
4747

48+
assertReadMe
49+
4850
source "$RESULT_TYPE_PATH/codeValidation.sh"
4951

50-
echoValidationOk "Code is valid. If everything is done and commited, you can use \"./codeLink.sh $COMPONENT_TYPE $RESULT_TYPE_SLUG\"."
52+
echoValidationOk "Code is valid. If everything is done and commited, you can use \"./vendor/bin/codeLink.sh $COMPONENT_TYPE $RESULT_TYPE_SLUG\"."

composerUpdate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ else
4343
fi
4444
echoValidationGroupEnd
4545

46-
echoValidationOk "Composer update done. To validate your code, use \"./codeValidation.sh $COMPONENT_TYPE $RESULT_TYPE_SLUG $INSTALLATION_PATH\"."
46+
echoValidationOk "Composer update done. To validate your code, use \"./vendor/bin/codeValidation.sh $COMPONENT_TYPE $RESULT_TYPE_SLUG\"."

initializeBranch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function downloadFilesFromGithub {
3535
readonly GITHUB_BRANCH="$slugToCopy"_"$versionToCopy"_"$RESULT_TYPE_SLUG"
3636
echoValidationGroupStart "Downloading files from https://github.com/phpbenchmarks/$slugToCopy/tree/$GITHUB_BRANCH"
3737
downloadGitHubFile ".phpbenchmarks/configuration.sh"
38+
echoValidationWarning "Configuration has been copied from another version. Don't forget to edit .phpbenchmarks/configuration.sh."
3839
downloadGitHubFile ".phpbenchmarks/initBenchmark.sh"
3940
downloadGitHubFile ".phpbenchmarks/vhost.conf"
4041
source $RESULT_TYPE_PATH/downloadFilesFromGithub.sh

0 commit comments

Comments
 (0)