chore(install): put all install commands into a single script (#1754)
This makes it easier to run manually, e.g., after having reset all local typings.
This commit is contained in:
parent
3fe0fb077c
commit
a7435c3f8c
|
@ -18,10 +18,6 @@ before_install:
|
||||||
before_script:
|
before_script:
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
install:
|
install:
|
||||||
- npm install --no-optional
|
- ./script/install.sh
|
||||||
- npm install --prefix public/docs/_examples
|
|
||||||
- npm install --prefix public/docs/_examples/_protractor
|
|
||||||
- npm run webdriver:update --prefix public/docs/_examples/_protractor
|
|
||||||
- gulp add-example-boilerplate
|
|
||||||
script:
|
script:
|
||||||
- gulp $SCRIPT
|
- gulp $SCRIPT
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -ex -o pipefail
|
||||||
|
|
||||||
|
npm install --no-optional
|
||||||
|
(cd public/docs/_examples && npm install)
|
||||||
|
(cd public/docs/_examples/_protractor && npm install)
|
||||||
|
npm run webdriver:update --prefix public/docs/_examples/_protractor
|
||||||
|
gulp add-example-boilerplate
|
Loading…
Reference in New Issue