Skip to content

Commit

Permalink
Merge pull request #11 from Laravel-Lang/1.x
Browse files Browse the repository at this point in the history
Simplified launch of data update
  • Loading branch information
andrey-helldar authored Dec 29, 2023
2 parents 3dc26b1 + 72b50b0 commit ba306a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
IS_DIRTY=1
sudo php ./bin/native collect
composer collect
{ git add . && git commit -a -m "📦 Data updated"; } || IS_DIRTY=0
Expand Down
11 changes: 3 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,9 @@
"sort-packages": true
},
"scripts": {
"post-install-cmd": [
"@cldr"
],
"post-update-cmd": [
"@cldr"
],
"cldr": [
"php bin/native cldr"
"collect": [
"php bin/native cldr",
"php bin/native collect"
],
"test": [
"php vendor/bin/pest --parallel"
Expand Down

0 comments on commit ba306a1

Please sign in to comment.