Skip to content
Closed
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,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:
Expand Down
3 changes: 2 additions & 1 deletion scripts/windows/create-symlinks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\\\""
Expand Down
3 changes: 2 additions & 1 deletion scripts/windows/remove-symlinks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down