You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/09/26 03:52:48 UTC

git commit: added create.bat for windows support

Repository: cordova-browser
Updated Branches:
  refs/heads/master d3d9172a3 -> 798aa7434


added create.bat for windows support


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

Branch: refs/heads/master
Commit: 798aa74340a7cafdb4b81c3361a3a581a5138be5
Parents: d3d9172
Author: Steven Gill <st...@gmail.com>
Authored: Thu Sep 25 18:51:50 2014 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Thu Sep 25 18:51:50 2014 -0700

----------------------------------------------------------------------
 bin/create.bat | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/798aa743/bin/create.bat
----------------------------------------------------------------------
diff --git a/bin/create.bat b/bin/create.bat
new file mode 100644
index 0000000..4b475a2
--- /dev/null
+++ b/bin/create.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="%~dp0create"
+IF EXIST %script_path% (
+    node %script_path% %*
+) ELSE (
+    ECHO.
+    ECHO ERROR: Could not find 'create' script in 'bin' folder, aborting...>&2
+    EXIT /B 1
+)
\ No newline at end of file