Building inside msys

Chris Mitchell's Avatar

Chris Mitchell

16 Dec, 2014 08:43 PM

Is there a recommended way to enter a msys shell and build inside it? I've tried this in appveyor.yml:
  - cd C:\msys\1.0\bin\
  - sh --login -i

But it stops after the login to the shell and doesn't execute any downstream commands.

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Dec, 2014 09:18 PM

    Feodor Fitsner's Avatar

    Hi Chris,

    Look at how it's done for Julia project:

    Maybe you should pass a script to sh because -i means the shell is interactive.

  2. 2 Posted by tony on 17 Dec, 2014 12:24 AM

    tony's Avatar

    As Feodor pointed out, I'd recommend making a separate .sh script where you execute the commands you want to run in msys.

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac