From 120d35506e411e575ee07aac900d7394b5b7386c Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Wed, 1 Nov 2017 00:47:09 +0100 Subject: [PATCH] Updated asset-plugin options (#145) --- README.md | 5 ++++- composer.json | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e852c8..aec7cfc 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,10 @@ http://localhost/basic/web/ ~~~ +**NOTES:** +- If you don not have `git` available on your machine, you can run composer commands with `FXP_ASSET__VCS_DRIVER_OPTIONS='{}' composer [...]` to use the GitHub API instead. + + ### Install from an Archive File Extract the archive file downloaded from [yiiframework.com](http://www.yiiframework.com/download/) to @@ -106,7 +110,6 @@ return [ - Refer to the README in the `tests` directory for information specific to basic application tests. - TESTING ------- diff --git a/composer.json b/composer.json index deef5a2..1b98eb0 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,12 @@ "installer-paths": { "npm-asset-library": "vendor/npm", "bower-asset-library": "vendor/bower" - } + }, + "vcs-driver-options": { + "github-no-api": true + }, + "git-skip-update": "2 days", + "pattern-skip-version": "(-build|-patch)" } }, "scripts": {