Skip to content

Commit

Permalink
Aligning tasks & Docks
Browse files Browse the repository at this point in the history
  • Loading branch information
woody-apple committed Apr 1, 2020
1 parent 88c8426 commit e19107e
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 11 deletions.
22 changes: 17 additions & 5 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,43 @@
}
},
{
"label": "Pretty",
"label": "Auto-enforce coding style",
"type": "shell",
"command": "make -f Makefile-Standalone pretty-check",
"group": "none"
},
{
"label": "Verify coding style conformance",
"type": "shell",
"command": "make -f Makefile-Standalone pretty",
"group": "none"
},
{
"label": "Test & Check",
"label": "Run Unit and Functional Tests",
"type": "shell",
"command": "make -f Makefile-Standalone check",
"group": "none"
},
{
"label": "Dist Check",
"label": "Run Distribution Generation",
"type": "shell",
"command": "make -f Makefile-Standalone distcheck",
"group": "none"
},
{
"label": "Clean",
"label": "Run Code Coverage",
"type": "shell",
"command": "make -f Makefile-Standalone coverage",
"group": "none"
},
{
"label": "Clean build",
"type": "shell",
"command": "make -f Makefile-Standalone clean",
"group": "none"
},
{
"label": "Bootstrap",
"label": "Bootstrap the source tree",
"type": "shell",
"command": "./bootstrap",
"group": "none"
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ The CHIP repository is structured as follows:
| `third_party/` | Third-party code used by CHIP.|
| `tools/` | Tools needed to work with the CHIP repo, as well as develop in the repository |

# Third Party Tools

Some tools and utilities are dependent on third party tools, such as Docker.

[Docker](https://www.docker.com) is an excellent way to have stable build environments that don't pollute the host OS. It is also much easier to maintain stability across multiple host environments. Install stable version of [Docker Desktop](https://www.docker.com/products/docker-desktop) relevant to your native OS (MacOS or Windows). Once installed, you can run docker commands from the shell/terminal.

# Contributing

We would love for you to contribute to CHIP and help make it even
Expand Down
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@
* Documentation about style is documented in [the style guide](./STYLE_GUIDE.md)
* Additional documentation about more specific files are in the [style folder](./style/)

## Third Party Tools

Some tools and utilities are dependent on third party tools, such as Docker.

[Docker](https://www.docker.com) is an excellent way to have stable build environments that don't pollute the host OS. It is also much easier to maintain stability across multiple host environments. Install stable version of [Docker Desktop](https://www.docker.com/products/docker-desktop) relevant to your native OS (MacOS or Windows). Once installed, you can run docker commands from the shell/terminal.

19 changes: 19 additions & 0 deletions docs/VSCODE_DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,22 @@ Tested on:
Located in the [tasks json](../.vscode/tasks.json) file you'll find a list of tasks that can be run from the "Run Task..." command.
Example tasks are "Clean", "Run Pretty Check"

Developers are encouraged to add tasks to the [tasks json](../.vscode/tasks.json) over time to make sure everyone is using the same base configuration and build.

### Current base tasks are listed here
* Main Build - Full build and test of the tree
* Auto-enforce coding style
* Verify coding style conformance
* Run Unit and Functional Tests
* Run Distribution Generation - Build and check distribution, running all functional and unit tests
* Run Code Coverage (via 'make coverage')
* Clean build - Full clean build and test of the tree
* Bootstrap the source tree - On a clean tree, pull in the third party dependencies required
* Clean Tree - Full (and destructive) git clean of the tree

## Launch Tasks

Located in the [launch json](../.vscode/launch.json) file you'll find a list of build & run jobs that can be run from the "Run" tab and start a run or debug session.

Developers are encouraged to add tasks to the [launch json](../.vscode/launch.json) over time to make sure everyone is using the same base debuging setup.

0 comments on commit e19107e

Please sign in to comment.