Choose default script interpreter

Kirill Müller's Avatar

Kirill Müller

07 Aug, 2014 12:44 AM

Hi

If I only use PowerShell in a project that is configured through an appveyor.yml, do I really have to prefix each line with ps:? If yes, it'd be great if the default interpreter could be set in the appveyor.yml file. Thanks for considering.

Cheers

Kirill

  1. Support Staff 1 Posted by Feodor Fitsner on 07 Aug, 2014 01:26 AM

    Feodor Fitsner's Avatar

    HI Kirill,

    You can prefix once a multi-line script, like that:

    ps: |
          Script line 1
          Script line 2
          ...
    
  2. 2 Posted by Kirill Müller on 07 Aug, 2014 07:47 PM

    Kirill Müller's Avatar

    Thanks, Feodor -- this works, but now during the build, Script line 2 (blue) is printed before the (white) output of Script line 1... Any ideas?

    Cheers

    Kirill

  3. Support Staff 3 Posted by Feodor Fitsner on 07 Aug, 2014 07:54 PM

    Feodor Fitsner's Avatar

    Oh, because it's running as a single script, not line-by-line.

    - Feodor

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:46 AM.

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

Keyboard shortcuts

Generic

? 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

Recent Discussions

07 Jul, 2020 06:21 PM
07 Jul, 2020 03:15 PM
05 Jul, 2020 02:33 AM
03 Jul, 2020 07:29 PM
03 Jul, 2020 03:53 AM

 

02 Jul, 2020 09:09 PM
02 Jul, 2020 03:24 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM
24 Jun, 2020 08:11 AM