Skip to content

Instantly share code, notes, and snippets.

@IlyaFinkelshteyn
Created June 15, 2018 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IlyaFinkelshteyn/e15d568849c22cfb755a0094385e42d4 to your computer and use it in GitHub Desktop.
Save IlyaFinkelshteyn/e15d568849c22cfb755a0094385e42d4 to your computer and use it in GitHub Desktop.
# use https://www.linqpad.net/lprun.aspx for C# scripting
install:
- choco install linqpad
- set path=C:\Program Files (x86)\LINQPad5\;%path%
build_script:
- ps: |
$program = @"
// C# script start <<<<<<<<<<<<<<<<<<<<<<<<<
for (int i = 0; i < 3; i++)
{
Console.WriteLine(i);
}
// C# script end <<<<<<<<<<<<<<<<<<<<<<<<<<<
"@
- ps: $program | Out-File test-lprun.linq
- lprun -lang=Statements test-lprun.linq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment