Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Minor typos in docs/development-environment.md #8233

Merged
merged 1 commit into from
Nov 23, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/development-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ yarn distclean

**Start Development**

1. Make sure you have `git`, `node`, and `npm` installed and a working WordPress installation.
1. Make sure you have `git`, `node`, `npm`, and a working WordPress installation.
2. Clone this repository inside your Plugins directory.

```
Expand Down Expand Up @@ -56,10 +56,10 @@ $ yarn build

## Development build with changes monitoring (watch)

You can ran a watch process which will continuously watch the front-end JS and CSS/Sass for changes and rebuild accordingly.
You can run a watch process, which will continuously watch the front-end JS and CSS/Sass for changes and rebuild accordingly.
Instead of `yarn build` you'd use `yarn watch`.

Before running the watch process you may need to `npm install` the npm dependencies first if you didn't do it already.
Before running the watch process you may need to `npm install` the npm dependencies first, if you didn't do it already.

```
$ yarn
Expand All @@ -68,15 +68,15 @@ $ yarn watch

## Production build

The production build will generate minified files without duplicated code (resulting from dependencies) and also will generate the matching sourcemap files and language files.
The production build will generate minified files without duplicated code (resulting from dependencies) and will also generate the matching sourcemap and language files.

```
$ yarn build-production
```

## Unit-testing

Jetpack includes several [unit tests](https://github.com/Automattic/jetpack/tree/master/tests) that you can run in your local environment before to submit a new Pull Request.
Jetpack includes several [unit tests](https://github.com/Automattic/jetpack/tree/master/tests) that you can run in your local environment before submitting a new Pull Request.

To get started, you can follow the instructions [here](https://phpunit.de/getting-started.html) to install PHPUnit on your machine. If you are running a recent version of [VVV](https://github.com/Varying-Vagrant-Vagrants/VVV) then Jetpack will automatically detect your wordpress-develop install and you can just run `phpunit` directly.

Expand Down