You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/09/04 23:16:41 UTC
ios commit: Just output a warning for ios project scripts on windows
Repository: cordova-ios
Updated Branches:
refs/heads/master 6523e1458 -> 694a1172c
Just output a warning for ios project scripts on windows
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/694a1172
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/694a1172
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/694a1172
Branch: refs/heads/master
Commit: 694a1172c8f96f6d97d8610866fdfb8b587a7380
Parents: 6523e14
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Sep 4 13:05:17 2015 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Sep 4 13:05:17 2015 -0700
----------------------------------------------------------------------
bin/templates/scripts/cordova/build.bat | 19 +++++++++++++++++++
bin/templates/scripts/cordova/clean.bat | 10 ++--------
bin/templates/scripts/cordova/log.bat | 19 +++++++++++++++++++
bin/templates/scripts/cordova/run.bat | 10 ++--------
4 files changed, 42 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/694a1172/bin/templates/scripts/cordova/build.bat
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/build.bat b/bin/templates/scripts/cordova/build.bat
new file mode 100644
index 0000000..2f97fcb
--- /dev/null
+++ b/bin/templates/scripts/cordova/build.bat
@@ -0,0 +1,19 @@
+:: 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
+ECHO WARN: The 'build' command is not available for cordova-ios on windows machines.>&2
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/694a1172/bin/templates/scripts/cordova/clean.bat
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/clean.bat b/bin/templates/scripts/cordova/clean.bat
index 25f1790..5830728 100644
--- a/bin/templates/scripts/cordova/clean.bat
+++ b/bin/templates/scripts/cordova/clean.bat
@@ -14,12 +14,6 @@
:: KIND, either express or implied. See the License for the
:: specific language governing permissions and limitations
:: under the License
+
@ECHO OFF
-SET script_path="%~dp0clean"
-IF EXIST %script_path% (
- node %script_path% %*
-) ELSE (
- ECHO.
- ECHO ERROR: Could not find 'clean' script in 'cordova' folder, aborting...>&2
- EXIT /B 1
-)
\ No newline at end of file
+ECHO WARN: The 'clean' command is not available for cordova-ios on windows machines.>&2
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/694a1172/bin/templates/scripts/cordova/log.bat
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/log.bat b/bin/templates/scripts/cordova/log.bat
new file mode 100644
index 0000000..4710e57
--- /dev/null
+++ b/bin/templates/scripts/cordova/log.bat
@@ -0,0 +1,19 @@
+:: 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
+ECHO WARN: The 'log' command is not available for cordova-ios on windows machines.>&2
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/694a1172/bin/templates/scripts/cordova/run.bat
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/run.bat b/bin/templates/scripts/cordova/run.bat
index 0d10321..8a3cad2 100644
--- a/bin/templates/scripts/cordova/run.bat
+++ b/bin/templates/scripts/cordova/run.bat
@@ -14,12 +14,6 @@
:: 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
-)
+ECHO WARN: The `run` is not available for cordova-ios on windows machines.>&2
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org