mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2b8f753028
* build: use shared logic to build packages * No longer creates the whole set of gulp tasks just to build a single package. * Makes the package building & releasing more consistent. No extra `build:release` just for the `lib` package. References #4108 * Address feedback
1.0 KiB
1.0 KiB
Developer guide: getting your environment set up
- Make sure you have
nodeinstalled with a version at least 5.5.0. - Run
npm install -g gulpto install gulp. - Fork the
angular/material2repo. - Clone your fork.
Recommendation: name your git remotes
upstreamforangular/material2and<your-username>for your fork. Also see the team git shortcuts. - From the root of the project, run
npm install.
To build Material in dev mode, run gulp material:build.
To build Material in release mode, run gulp material:build-release
To bring up a local server, run gulp serve:devapp. This will automatically watch for changes
and rebuild. The browser should refresh automatically when changes are made.
Running tests
To run unit tests, run gulp test.
To run the e2e tests, run gulp e2e.
To run lint, run gulp lint.
Running benchmarks
Not yet implemented.
Running screenshot diff tests
Not yet implemented.