Skip to content

Commit

Permalink
Merge pull request yiisoft#8332 from yiijan/internals-fix
Browse files Browse the repository at this point in the history
docs internals typo fix [ci skip]
  • Loading branch information
qiangxue committed May 9, 2015
2 parents 918a37e + 2e41e89 commit 0b468cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/internals/git-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ You may limit the tests to a group of tests you are working on e.g. to run only

### Extensions

To work on extensions you have clone the extension repository. We have created a command that can do this for you:
To work on extensions you have to clone the extension repository. We have created a command that can do this for you:

php build/build dev/ext <extension-name>

where `<extension-name>` is the name of the extension, e.g. `redis`.

If you want to test the extension in one of the application templates, just add them to the `composer.json` of the application as you would
If you want to test the extension in one of the application templates, just add it to the `composer.json` of the application as you would
normally do e.g. add `"yiisoft/yii2-redis": "*"` to the `require` section of the basic app.
Running `php build/build dev/app basic` will install the extension and its dependecies and create
a symlink to `extensions/redis` so you are not working in the composer vendor dir but in the yii2 repository directly.
Expand Down

0 comments on commit 0b468cb

Please sign in to comment.