parent
8dec381145
commit
922908818f
@ -9,6 +9,7 @@ set -u -e -o pipefail
|
||||
# can be used to run each of the examples in isolation via http as well.
|
||||
#
|
||||
|
||||
(
|
||||
cd `dirname $0`
|
||||
|
||||
DIST="../../dist/examples";
|
||||
@ -40,3 +41,4 @@ for MODULE in `find . -name module.ts`; do
|
||||
|
||||
find `dirname $MODULE` -name \*.css -exec cp {} $FINAL_DIR_PATH \;
|
||||
done
|
||||
)
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -u -e -o pipefail
|
||||
|
||||
(
|
||||
cd `dirname $0`
|
||||
./build.sh
|
||||
|
||||
gulp serve-examples &
|
||||
trap "kill $!" EXIT
|
||||
|
||||
(cd ../../ && NODE_PATH=$NODE_PATH:dist/all $(npm bin)/protractor protractor-examples-e2e.conf.js --bundles=true)
|
||||
(
|
||||
cd ../../
|
||||
NODE_PATH=${NODE_PATH:-}:dist/all
|
||||
$(npm bin)/protractor protractor-examples-e2e.conf.js --bundles=true
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user