UNPKG

551 Bapplication/x-shView Raw
1#!/bin/sh
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
9if [ ! -f ./package.json ]; then
10 echo Please run this from the repo root folder
11 exit 1
12fi
13npm install
14node node_modules/streamline/bin/_node -c lib
15find lib/ -name "*._js" -delete
16node bin/azure --gen
17node scripts/unit.js testlist.txt
18node scripts/unit.js testlist-arm.txt
\No newline at end of file