mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-24 11:50:17 +08:00
commit
4f7718b03e
65
circle.yml
65
circle.yml
@ -1,26 +1,41 @@
|
|||||||
machine:
|
version: 2
|
||||||
node:
|
jobs:
|
||||||
version: 5.5.0
|
build:
|
||||||
ruby:
|
working_directory: ~/ionic-native/
|
||||||
version: 2.1.2
|
docker:
|
||||||
|
- image: node:7
|
||||||
general:
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
- only:
|
||||||
- master # ignore PRs and branches
|
- cci2
|
||||||
|
steps:
|
||||||
dependencies:
|
- checkout
|
||||||
pre:
|
- restore_cache:
|
||||||
- ./scripts/docs/prepare.sh
|
key: ionic-site
|
||||||
cache_directories:
|
- run:
|
||||||
- "~/ionic-site" # cache ionic-site
|
name: Prepare ionic-site repo
|
||||||
|
command: ./scripts/docs/prepare.sh
|
||||||
test:
|
- save_cache:
|
||||||
override:
|
key: ionic-site
|
||||||
- echo "No tests to run"
|
paths:
|
||||||
|
- ~/ionic-site/
|
||||||
deployment:
|
- restore_cache:
|
||||||
staging:
|
key: node_modules_{{ checksum "package.json" }}
|
||||||
branch: master
|
- run:
|
||||||
commands:
|
name: Install node modules
|
||||||
- ./scripts/docs/update_docs.sh
|
command: npm i
|
||||||
|
- save_cache:
|
||||||
|
key: node_modules_{{ checksum "package.json" }}
|
||||||
|
paths:
|
||||||
|
- ~/ionic-native/node_modules/
|
||||||
|
- run:
|
||||||
|
name: Run tslint
|
||||||
|
command: npm run lint
|
||||||
|
- add_ssh_keys
|
||||||
|
- deploy:
|
||||||
|
name: Update docs
|
||||||
|
command: |
|
||||||
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||||
|
./scripts/docs/update_docs.sh
|
||||||
|
else
|
||||||
|
echo "We are on ${CIRCLE_BRANCH} branch, not going to update docs."
|
||||||
|
fi
|
||||||
|
@ -19,10 +19,11 @@ declare var window;
|
|||||||
*
|
*
|
||||||
* ...
|
* ...
|
||||||
*
|
*
|
||||||
|
* // let status bar overlay webview
|
||||||
|
* this.statusBar.overlaysWebView(true);
|
||||||
*
|
*
|
||||||
* this.statusBar.overlaysWebView(true); // let status bar overlay webview
|
* // set status bar to white
|
||||||
*
|
* this.statusBar.backgroundColorByHexString('#ffffff');
|
||||||
* this.statusBar.backgroundColorByHexString('#ffffff'); // set status bar to white
|
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user