Skip to content

Commit

Permalink
Revert "Do not lock composer"
Browse files Browse the repository at this point in the history
This reverts commit f34d8b6.
  • Loading branch information
gdraynz committed Jun 4, 2024
1 parent 3e2a259 commit 842adee
Show file tree
Hide file tree
Showing 5 changed files with 2,863 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
dist/
phpunit.xml
.phpunit.cache/
composer.lock
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ WORKDIR /app
COPY --link .docker/php.ini /usr/local/etc/php/php.ini

COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY --link composer.json ./
COPY --link composer.json composer.lock ./
RUN composer install --prefer-dist --no-progress --no-suggest
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
rm -rf dist/ vendor/
mkdir -p ./dist
composer install --no-dev
zip -9 -r "dist/alma-php-client.zip" src/ README.md CHANGELOG.md LICENSE composer.json
zip -9 -r "dist/alma-php-client.zip" src/ README.md CHANGELOG.md LICENSE composer.json composer.lock
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,5 @@
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"config": {
"lock": false
}
}
Loading

0 comments on commit 842adee

Please sign in to comment.