Skip to content

Commit

Permalink
Merge pull request #50 from TheDragonCode/1.x
Browse files Browse the repository at this point in the history
Test `symfony/thanks`
  • Loading branch information
Andrey Helldar committed Feb 13, 2022
2 parents 8ddc1af + efd5c48 commit 9036be0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
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

0 comments on commit 9036be0

Please sign in to comment.