parent
9edea0b139
commit
ca16fc29a6
12
DEVELOPER.md
12
DEVELOPER.md
|
@ -74,6 +74,18 @@ use in these instructions.
|
|||
*Option 2*: defining a bash alias like `alias nbin='PATH=$(npm bin):$PATH'` as detailed in this
|
||||
[Stackoverflow answer](http://stackoverflow.com/questions/9679932/how-to-use-package-installed-locally-in-node-modules/15157360#15157360) and used like this: e.g., `nbin gulp build`.
|
||||
|
||||
## Windows only
|
||||
|
||||
In order to create the right symlinks, run **as administrator**:
|
||||
```shell
|
||||
./scripts/windows/create-symlinks.sh
|
||||
```
|
||||
|
||||
Before submitting a PR, do not forget to remove them:
|
||||
```shell
|
||||
./scripts/windows/remove-symlinks.sh
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
To build Angular run:
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
cd `dirname $0`
|
||||
|
||||
while read PACKAGE
|
||||
while read RAW_PACKAGE
|
||||
do
|
||||
PACKAGE=${RAW_PACKAGE: : -1}
|
||||
DESTDIR=./../../modules/\@angular/${PACKAGE}/src
|
||||
mv ${DESTDIR}/facade ${DESTDIR}/facade.old
|
||||
cmd <<< "mklink \"..\\..\\modules\\\@angular\\"${PACKAGE}"\\src\\facade\" \"..\\..\\facade\\src\\\""
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
cd `dirname $0`
|
||||
|
||||
while read PACKAGE
|
||||
while read RAW_PACKAGE
|
||||
do
|
||||
PACKAGE=${RAW_PACKAGE: : -1}
|
||||
DESTDIR=./../../modules/\@angular/${PACKAGE}/src
|
||||
rm ${DESTDIR}/facade
|
||||
mv ${DESTDIR}/facade.old ${DESTDIR}/facade
|
||||
|
|
Loading…
Reference in New Issue