You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by daserge <gi...@git.apache.org> on 2015/08/18 22:36:05 UTC

[GitHub] cordova-ios pull request: CB-9512 Cordova-ios build/run should fai...

GitHub user daserge opened a pull request:

    https://github.com/apache/cordova-ios/pull/154

    CB-9512 Cordova-ios build/run should fail on Windows with a more mean…

    …ingful message
    
    [Jira issue](https://issues.apache.org/jira/browse/CB-9512)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-ios CB-9512

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-ios/pull/154.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #154
    
----
commit 3d390ba0e30a71547769590f6333083e8dfd6962
Author: daserge <da...@yandex.ru>
Date:   2015-08-18T20:31:31Z

    CB-9512 Cordova-ios build/run should fail on Windows with a more meaningful message

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-ios pull request: CB-9512 Cordova-ios build/run should fai...

Posted by robpaveza <gi...@git.apache.org>.
Github user robpaveza commented on a diff in the pull request:

    https://github.com/apache/cordova-ios/pull/154#discussion_r37478335
  
    --- Diff: bin/templates/scripts/cordova/run.bat ---
    @@ -15,11 +15,5 @@
     :: 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 ERROR: Running 'ios' platform on Windows is not supported>&2
    +EXIT /B 0
    --- End diff --
    
    Why are you exiting with a success status?  The previous version exited with status code 1.  
    
    Probably should also change build.bat to return status code 1.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-ios pull request: CB-9512 Cordova-ios build/run should fai...

Posted by purplecabbage <gi...@git.apache.org>.
Github user purplecabbage commented on the pull request:

    https://github.com/apache/cordova-ios/pull/154#issuecomment-137843411
  
    I have essentially done the same thing in #158, but for build/log/run/clean 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-ios pull request: CB-9512 Cordova-ios build/run should fai...

Posted by daserge <gi...@git.apache.org>.
Github user daserge closed the pull request at:

    https://github.com/apache/cordova-ios/pull/154


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-ios pull request: CB-9512 Cordova-ios build/run should fai...

Posted by daserge <gi...@git.apache.org>.
Github user daserge commented on a diff in the pull request:

    https://github.com/apache/cordova-ios/pull/154#discussion_r37507514
  
    --- Diff: bin/templates/scripts/cordova/run.bat ---
    @@ -15,11 +15,5 @@
     :: 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 ERROR: Running 'ios' platform on Windows is not supported>&2
    +EXIT /B 0
    --- End diff --
    
    It allows to build&run supported platforms without interruption in case we have several platforms added ([Jira issue with example](https://issues.apache.org/jira/browse/CB-9512)).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-ios pull request: CB-9512 Cordova-ios build/run should fai...

Posted by daserge <gi...@git.apache.org>.
Github user daserge commented on the pull request:

    https://github.com/apache/cordova-ios/pull/154#issuecomment-137849262
  
    Great, thanks, closing this in that case :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org