cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject git commit: added run.bat file
Date Sat, 27 Sep 2014 00:23:50 GMT
Repository: cordova-browser
Updated Branches:
  refs/heads/master df11c07db -> 92485f4db


added run.bat file


Project: http://git-wip-us.apache.org/repos/asf/cordova-browser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-browser/commit/92485f4d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-browser/tree/92485f4d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-browser/diff/92485f4d

Branch: refs/heads/master
Commit: 92485f4dbcf647bfa9cb0f04a0d5eefbe4bdbfbe
Parents: df11c07
Author: Steven Gill <stevengill97@gmail.com>
Authored: Fri Sep 26 17:23:43 2014 -0700
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Fri Sep 26 17:23:43 2014 -0700

----------------------------------------------------------------------
 bin/templates/project/cordova/run.bat | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/92485f4d/bin/templates/project/cordova/run.bat
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/run.bat b/bin/templates/project/cordova/run.bat
new file mode 100644
index 0000000..b9c4402
--- /dev/null
+++ b/bin/templates/project/cordova/run.bat
@@ -0,0 +1,26 @@
+:: 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.
+
+@ECHO OFF
+SET script_path="%~dp0run"
+IF EXIST %script_path% (
+        node %script_path% %*
+) ELSE (
+    ECHO.
+    ECHO ERROR: Could not find 'run' script in 'cordova' folder, aborting...>&2
+    EXIT /B 1
+)


Mime
View raw message