
This change makes build rules compatible with ES6 modules and incompatible with html imports. The build is broken in this change and gerrit-ci fails. The build repairs after conversion to ES6 modules. Change-Id: I5da619db6cda06670fffcaefd97a9d3bbe5feb0c
14 lines
346 B
Bash
Executable File
14 lines
346 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
DIR=$(pwd)
|
|
ln -s $RUNFILES_DIR/ui_npm/node_modules $TEST_TMPDIR/node_modules
|
|
cp $2 $TEST_TMPDIR/polymer.json
|
|
cp -R -L polygerrit-ui/app/* $TEST_TMPDIR
|
|
|
|
#Can't use --root with polymer.json - see https://github.com/Polymer/tools/issues/2616
|
|
#Change current directory to the root folder
|
|
cd $TEST_TMPDIR/
|
|
$DIR/$1 lint --verbose
|