1 |
|
2 | # Microsoft Azure OS X Package: Tarball Creation Script #2
|
3 | # Copyright (c) Microsoft Corporation. All Rights Reserved.
|
4 | #
|
5 | # Remove streamline js file and publish compiled file to npm
|
6 | # This deals with random errors caused by stale contents under
|
7 | # $HOME/.streamline
|
8 |
|
9 | if [ ! -f ./package.json ]; then
|
10 | echo Please run this from the repo root folder
|
11 | exit 1
|
12 | fi
|
13 | npm install
|
14 | node node_modules/streamline/bin/_node -c lib
|
15 | find lib/ -name "*._js" -delete
|
16 | node bin/azure --gen
|
17 | node scripts/unit.js testlist.txt
|
18 | node scripts/unit.js testlist-arm.txt
|