Added sh-read-input plugin
Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/c626f8d1 Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/c626f8d1 Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/c626f8d1 Branch: refs/heads/master Commit: c626f8d1c3ad70804c226928c02de0b5ff1a2751 Parents: e1b4c7c Author: Shazron Abdullah <[email protected]> Authored: Sat Mar 21 11:34:41 2015 -0700 Committer: Shazron Abdullah <[email protected]> Committed: Sat Mar 21 11:34:41 2015 -0700 ---------------------------------------------------------------------- spec/sh-read-input-plugin/install.sh | 6 +++++ spec/sh-read-input-plugin/plugin.xml | 42 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/c626f8d1/spec/sh-read-input-plugin/install.sh ---------------------------------------------------------------------- diff --git a/spec/sh-read-input-plugin/install.sh b/spec/sh-read-input-plugin/install.sh new file mode 100755 index 0000000..44f17c3 --- /dev/null +++ b/spec/sh-read-input-plugin/install.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +echo "This is will ask for input." +printf "Specify your input]: " + +read myinput \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/c626f8d1/spec/sh-read-input-plugin/plugin.xml ---------------------------------------------------------------------- diff --git a/spec/sh-read-input-plugin/plugin.xml b/spec/sh-read-input-plugin/plugin.xml new file mode 100644 index 0000000..052c268 --- /dev/null +++ b/spec/sh-read-input-plugin/plugin.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> + +<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" + xmlns:rim="http://www.blackberry.com/ns/widgets" + xmlns:android="http://schemas.android.com/apk/res/android" + id="org.apache.cordova.sh-read-input-plugin" + version="0.0.1"> + <name>Shell Read Input Plugin</name> + <description>Cordova Shell Read Input Plugin</description> + <license>Apache 2.0</license> + <keywords>cordova</keywords> + <repo></repo> + <issue></issue> + + <!-- ios --> + <platform name="ios"> + <hook type="before_plugin_install" src="install.sh" /> + </platform> + + <platform name="android"/> + <platform name="wp8"/> + + +</plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
