Skip to content

Commit

Permalink
improve the composer dist script
Browse files Browse the repository at this point in the history
  • Loading branch information
ggwicz committed Dec 3, 2019
1 parent 8994177 commit 76aea87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@
],
"scripts": {
"dist": [
"rm -rf ./vendor",
"npm run build",
"rm -rf ./vendor",
"npm install",
"npm run build",
"rm -rf ./node_modules",
"rm -rf ./apigen.neon",
"rm -rf ./readme.md",
"rm -rf ./CHANGELOG.md",
"rm -rf ./CODEOWNERS",
"@composer install --no-dev -a",
"@composer archive --format=zip --file constant-contact-forms",
"mv constant-contact-forms.zip $HOME/Desktop"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 76aea87

Please sign in to comment.