Browse Source

add composer cache

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
pull/1/merge
Bo-Yi Wu 7 years ago
parent
commit
1f1c04efb7
No known key found for this signature in database GPG Key ID: F84B2110C500B1F
3 changed files with 7 additions and 1 deletions
  1. +1
    -0
      .gitignore
  2. +4
    -0
      Makefile
  3. +2
    -1
      composer.json

+ 1
- 0
.gitignore View File

@ -9,3 +9,4 @@ Homestead.json
Homestead.yaml Homestead.yaml
npm-debug.log npm-debug.log
.env .env
.composer

+ 4
- 0
Makefile View File

@ -0,0 +1,4 @@
install:
composer install --no-progress --profile --prefer-dist

+ 2
- 1
composer.json View File

@ -46,6 +46,7 @@
"config": { "config": {
"preferred-install": "dist", "preferred-install": "dist",
"sort-packages": true, "sort-packages": true,
"optimize-autoloader": true
"optimize-autoloader": true,
"cache-dir": ".composer"
} }
} }

Loading…
Cancel
Save