Commit ff17d960 by Qiang Xue

Switch to 1.0.0-beta1 for the composer asset plugin.

parent 889d3bc9
...@@ -39,7 +39,7 @@ addons: ...@@ -39,7 +39,7 @@ addons:
install: install:
- composer self-update && composer --version - composer self-update && composer --version
- composer global require "fxp/composer-asset-plugin:1.0.*@dev" - composer global require "fxp/composer-asset-plugin:1.0.0-beta1"
- export PATH="$HOME/.composer/vendor/bin:$PATH" - export PATH="$HOME/.composer/vendor/bin:$PATH"
# core framework: # core framework:
- composer install --prefer-dist - composer install --prefer-dist
......
...@@ -75,7 +75,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix). ...@@ -75,7 +75,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
You can then install the application using the following command: You can then install the application using the following command:
~~~ ~~~
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced
~~~ ~~~
......
...@@ -55,7 +55,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix). ...@@ -55,7 +55,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
You can then install this application template using the following command: You can then install this application template using the following command:
~~~ ~~~
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
~~~ ~~~
......
...@@ -23,7 +23,7 @@ problems or want to learn more about Composer usage. ...@@ -23,7 +23,7 @@ problems or want to learn more about Composer usage.
With Composer installed, you can install Yii by running the following commands under a Web-accessible folder: With Composer installed, you can install Yii by running the following commands under a Web-accessible folder:
composer global require "fxp/composer-asset-plugin:1.0.*@dev" composer global require "fxp/composer-asset-plugin:1.0.0-beta1"
composer create-project --prefer-dist yiisoft/yii2-app-basic basic composer create-project --prefer-dist yiisoft/yii2-app-basic basic
The first command installs the [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/) The first command installs the [composer asset plugin](https://github.com/francoispluchino/composer-asset-plugin/)
......
...@@ -22,7 +22,7 @@ curl -sS http://getcomposer.org/installer | php ...@@ -22,7 +22,7 @@ curl -sS http://getcomposer.org/installer | php
You can then install the application using the following command: You can then install the application using the following command:
~~~ ~~~
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced /path/to/yii-application php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced /path/to/yii-application
~~~ ~~~
......
...@@ -48,6 +48,6 @@ Use the Template ...@@ -48,6 +48,6 @@ Use the Template
That's all that's required to create a new Yii application template. Now you can create projects using your template: That's all that's required to create a new Yii application template. Now you can create projects using your template:
``` ```
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
php composer.phar create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project php composer.phar create-project --prefer-dist --stability=dev mysoft/yii2-app-coolone new-project
``` ```
...@@ -16,7 +16,7 @@ Upgrade from Yii 2.0 Beta ...@@ -16,7 +16,7 @@ Upgrade from Yii 2.0 Beta
the composer-asset-plugin: the composer-asset-plugin:
``` ```
php composer.phar global require "fxp/composer-asset-plugin:1.0.*@dev" php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
``` ```
You also need to add the following code to your project's `composer.json` file: You also need to add the following code to your project's `composer.json` file:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment