We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df8912 commit 7934c21Copy full SHA for 7934c21
utils/test_npm.sh
@@ -13,6 +13,12 @@
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15
16
+# Set build dir to current working dir if not set by Travis, just so it's easy
17
+# to locally run this script.
18
+if [ -z $TRAVIS_BUILD_DIR ]; then
19
+ TRAVIS_BUILD_DIR=`pwd`
20
+fi
21
+
22
# Run yarn install so that dev dependencies are available
23
yarn install && cd ${TRAVIS_BUILD_DIR}/node_modules/closure-compiler-npm && yarn install
24
0 commit comments