build: update to newest ibazel (#27441)
this supports the --define flag which we use for Ivy development PR Close #27441
This commit is contained in:
parent
0d4149c736
commit
89bf06c28c
|
@ -29,8 +29,6 @@ following products on your development machine:
|
||||||
* [Java Development Kit](http://www.oracle.com/technetwork/es/java/javase/downloads/index.html) which is used
|
* [Java Development Kit](http://www.oracle.com/technetwork/es/java/javase/downloads/index.html) which is used
|
||||||
to execute the selenium standalone server for e2e testing.
|
to execute the selenium standalone server for e2e testing.
|
||||||
|
|
||||||
* (Optional for now) [Bazel](https://bazel.build/), please follow instructions in [BAZEL.md](https://github.com/angular/angular/blob/master/docs/BAZEL.md)
|
|
||||||
|
|
||||||
## Getting the Sources
|
## Getting the Sources
|
||||||
|
|
||||||
Fork and clone the Angular repository:
|
Fork and clone the Angular repository:
|
||||||
|
@ -124,7 +122,7 @@ You can automatically format your code by running:
|
||||||
A better way is to set up your IDE to format the changed file on each file save.
|
A better way is to set up your IDE to format the changed file on each file save.
|
||||||
|
|
||||||
### VS Code
|
### VS Code
|
||||||
1. Install [Clang-Format](https://marketplace.visualstudio.com/items?itemName=xaver.clang-format) extension for VS Code.
|
1. Install [Clang-Format](https://marketplace.visualstudio.com/items?itemName=xaver.clang-format) extension for VS Code.
|
||||||
2. Open `settings.json` in your workspace and add these lines:
|
2. Open `settings.json` in your workspace and add these lines:
|
||||||
```json
|
```json
|
||||||
"files.autoSave": "onFocusChange",
|
"files.autoSave": "onFocusChange",
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
|
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@bazel/bazel": "^0.18.1",
|
"@bazel/bazel": "^0.18.1",
|
||||||
"@bazel/ibazel": "^0.1.1",
|
"@bazel/ibazel": "~0.8.2",
|
||||||
"@bazel/karma": "0.21.0",
|
"@bazel/karma": "0.21.0",
|
||||||
"@types/angular": "^1.6.47",
|
"@types/angular": "^1.6.47",
|
||||||
"@types/base64-js": "1.2.5",
|
"@types/base64-js": "1.2.5",
|
||||||
|
@ -145,4 +145,4 @@
|
||||||
"vrsource-tslint-rules": "5.1.1",
|
"vrsource-tslint-rules": "5.1.1",
|
||||||
"webpack": "1.12.9"
|
"webpack": "1.12.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,10 +64,10 @@
|
||||||
"@bazel/bazel-linux_x64" "0.18.0"
|
"@bazel/bazel-linux_x64" "0.18.0"
|
||||||
"@bazel/bazel-win32_x64" "0.18.0"
|
"@bazel/bazel-win32_x64" "0.18.0"
|
||||||
|
|
||||||
"@bazel/ibazel@^0.1.1":
|
"@bazel/ibazel@~0.8.2":
|
||||||
version "0.1.1"
|
version "0.8.2"
|
||||||
resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.1.1.tgz#f970c08b4e4efb0ab17e04ade3cc610554f33bed"
|
resolved "https://registry.yarnpkg.com/@bazel/ibazel/-/ibazel-0.8.2.tgz#a837d93922c0d273361ed4f141c792384c0e10bb"
|
||||||
integrity sha1-+XDAi05O+wqxfgSt48xhBVTzO+0=
|
integrity sha512-5lbqeoqv2sIRybV9s4CIRNBR68wdv22wfpNY1qmO3AsPrLx4zICPXyW8YOiLaLvYPzvezPznfhD7Is13jU/jsQ==
|
||||||
|
|
||||||
"@bazel/karma@0.21.0":
|
"@bazel/karma@0.21.0":
|
||||||
version "0.21.0"
|
version "0.21.0"
|
||||||
|
|
Loading…
Reference in New Issue