Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test symfony/thanks #50

Merged
merged 1 commit into from Feb 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 1 addition & 6 deletions Dockerfile
Expand Up @@ -7,12 +7,7 @@ ARG INPUT_GITHUB_TOKEN
ARG INPUT_EDITORCONFIG
ARG INPUT_DEPENDABOT

RUN composer global require \
dragon-code/codestyler:^1.0 \
symfony/thanks

RUN composer global config --no-plugins allow-plugins.symfony/thanks true
RUN composer config --no-plugins allow-plugins.symfony/thanks true
RUN composer global require dragon-code/codestyler:^1.0

COPY shell /shell
COPY entrypoint.sh /entrypoint.sh
Expand Down
12 changes: 9 additions & 3 deletions shell/thanks.sh
@@ -1,7 +1,13 @@
#!/bin/sh -l

composer global require symfony/thanks

composer global config --no-plugins allow-plugins.symfony/thanks true

composer global thanks

#if [[ -f "./composer.json" ]]; then
# composer thanks
#fi
if [[ -f "./composer.json" ]]; then
composer config --no-plugins allow-plugins.symfony/thanks true

composer thanks
fi